Home » Questions » Computers [ Ask a new question ]

What is the best way to perform daily/weekly/monthly backups?

What is the best way to perform daily/weekly/monthly backups?

I am currently running a script in leopard every few days to make sure I have backed up my data on a remote server using:

Asked by: Guest | Views: 46
Total answers/comments: 2
Guest [Entry]

"Can you set up a cron job in leopard?

The example rsync options (-avvz) don't delete files in the 'remote' directory which have been removed from the local directory since an earlier backup. They should still be in the remote directory.

But your example is confusing: are you copying files from ~/Documents to ~/Workspace or to ~/Backup/ on myhost.com

This may be a peculiarity of leopard, but it looks like you're just copying from ~/Documents to ~/Workspace in which case the rest of the line might be ignored (and you don't need to invoke ssh)

You should also consider ending the source directory specification with a /

I would agree with Peter that rotating backups are good — if you have the available disk space."
Guest [Entry]

"I have found the package rsnapshot to be very good, available in all the distros and i've just now installed it on my mac.

It's a wrapper for rsync that takes care of incremental backups including hourly, daily, weekly and monthly."