Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.

Automatic backup to mapped network drive #4

Open
nicolasyounes opened this issue Mar 10, 2017 · 3 comments
Open

Automatic backup to mapped network drive #4

nicolasyounes opened this issue Mar 10, 2017 · 3 comments

Comments

@nicolasyounes
Copy link

Hey guys, I need to backup my data.

Some months ago, a person from IT Cairns created a script for an automatic back-up of my files from my computer to a mapped network drive.
For some reason, the network drive changed its address and now it’s: \nas1.hpc.jcu.edu.au.

I tried to reflect this into the script, but it is not working… The script is:

robocopy /E /R:1 /W:1 /MT /XO /FFT "C:\Users\jc265983\Google Drive" "\nas1.jcu.edu.au\jc265983\6 PhD BackUp\Google Drive"
robocopy /E /R:1 /W:1 /MT /XO /FFT "\nas1.jcu.edu.au\jc265983\6 PhD BackUp\Google Drive" "\nas1.jcu.edu.au\jc265983\6 PhD BackUp\Google Drive" /XD "6 PhD BackUp"

This runs as a *.bat file, and i have it scheduled for a daily execution.

Could you please help me update the script? I don’t want to be without a back-up now that I'm starting to generate a lot of data.

thanks.,
Nicolas.

@collinstorlie
Copy link

collinstorlie commented Mar 10, 2017

Nicolas,

G'day mate, thanks for dropping us a line. Changes to the architecture of the HPC mean that you may no longer be able to connect to your HPC Home Directory with Samba protocol. However, all is not lost. Depending upon your operating system and preference for GUI or CLI interface, there are a number of other options for creating scheduled backups. Filezilla and/or WinSCP offer 'drag & drop' functionality for moving files from local to remote servers and vice-versa. Alternatively, 'rsync' (command line tool) can be used to regularly synchronise remote and local directories.

If you can provide a bit more info about your computer and OS, we should be able to set you up with a good alternative. Maybe try Zooming into HH this arvo?

Collin

@nicolasyounes
Copy link
Author

Thanks Collin,
yeah, sorry about that. I'm preparing for Confirmation of Candidature and these past days have been hectic.

I'm working on a JCU desktop computer (DELL)
Windows 8.1 enterprise - 64bit
16 GB RAM
Intel i5-6500 @3.20GHz

I'd like a small program that I can schedule to run automatically. I don't need a GUI at this stage, just the automatic backup. Once I get that running, ill try to replicate it for other folders i may need to backup in the future.
On another note, I'll be in TSV next week, probably we could meet and talk about the HH CNS, and a couple of other ideas i have.

Thanks.

@collinstorlie
Copy link

Nico,

Happy to chat about all & sundry at HH this week. If you want to steer clear of GUI for file backup, we'll likely need to utilise a UNIX command environment for Windows (GitBash works well). From there, we can use 'rsync' to handle the movement of files and create a 'cron' job to schedule them. Don't forget, HH is today in TSV, Ed. Central.

Collin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants