Scheduled BackupΒΆ
Context
On HPC systems, there are typically separated scratch filesystem (fast but volatile, say $scr
) and archive storage (slow but backed up, say $backup
).
Hint
rsync
crontab
Write a bash script to automatically backup $scr/project_a/
to $backup/project_a/
-
Prepare
rsync
script -
Set up
cron
by runningcrontab -e
and adjust the backup time (use absolute path to thesync.sh
script)