November 2010 Archives

You may want to add the day’s date to a backup file, especially if you are running it as a cron job. The following code example will Gzip Tar the files into a compressed archive with the date inserted:

tar czvf /backups/backup-date +%y%m%d.tgz /files-to-backup/.

where:

%d = day (2 digit) %m = month (2 digit) %y = year (2 digit)

About this Archive

This page is an archive of entries from November 2010 listed from newest to oldest.

October 2010 is the previous archive.

January 2011 is the next archive.

Find recent content on the main index or look in the archives to find all content.

    follow me on Twitter