[Astro] [CAPT] Backup information

Phil Parry phil.parry at nottingham.ac.uk
Tue Dec 3 13:21:54 GMT 2024


Hi all (PGRs and new people especially!),

This is a reminder to think about the data you work with, and to 
safeguard it from mishaps.  I recommend you keep at least two 
copies/backups of your data; perhaps on one of our servers (captain, 
odhar etc), on an external disk if you have one, or on a cloud service 
such as OneDrive.  If you need any advice, suggestions or help with 
this, please get in touch.  Note that writable CD's and DVD's can be 
unreliable for long-term storage.

If you're using Linux, then I'd suggest using the 'rsync' command to 
copy one or more directories to captain.  Some examples of using
rsync are at http://www.thegeekstuff.com/2010/09/rsync-command-examples/ 
. This can be made to
run automatically – see below.

A suggested method of backing up to captain is as follows:

First, set up password-less login to captain using a SSH key if you 
haven't already - follow the procedure at
https://www.makeuseof.com/connect-without-password-copy-ssh-key-server/ .

Make sure you can now ssh into captain without a password – this is so 
the backup can be run automatically.
Create a shell script to run rsync to captain and/or your external disk: 
either a one-liner such as:
|rsync -a ~ captain:backup #copies your home directory to the directory 
'backup' on captain|
, or something more complex if necessary.

This can be automated (eg run every night or weekend) via a 'cron' task 
– see 'Automating rsync backups' at
http://www.howtogeek.com/135533/how-to-use-rsync-to-backup-your-data-on-linux/ 
for an example.

Again, please let me know if you need any help or advice regarding any 
of this.

Thanks,

Phil P

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/astro/attachments/20241203/33fc510a/attachment.htm>
-------------- next part --------------
_______________________________________________
CAPT mailing list
CAPT at lists.nottingham.ac.uk
https://lists.nottingham.ac.uk/mailman/listinfo/capt


More information about the Astro mailing list