I'm looking for a very basic backup script/package for a directory on my Ubuntu server. Currently I'm using a cronjob like this:
0 5 * * 1 sudo tar -Pzcf /var/backups/home.tgz /home/
But I want a solution which adds a timestamp to the filename and does not override old backups. Of course this will slowly flood my drive so old backups (e.g. older than 2 months) need to be deleted automatically.
UPDATE: I've decided to give the bounty to the
logrotate-solution because of it's simplicity. But big thanks to all other answerers, too!