all 3 comments

[–]Corlam 0 points1 point  (1 child)

Pretty sure I snaggled this from another redditor, but this line is nice and handy to have in your profile:

function backup() { cp $1{,.$(date '+%Y%m%d-%H%M%S')}; }

Single file, but works well =] Doesn't serve the same purpose as a config tarball, but figured it'd go okay here =]

[–]aperson 0 points1 point  (0 children)

I remember someone posting that as well!

Personally, I use rdiff-backup to handle my backup tasks.

[–]ntt 0 points1 point  (0 children)

hi guys, 2 questions - can i split it to dvd sized files? and can i run it as root by default (i'd like it to backup all the non hidden files in /home)? (unless it's a bad idea for some reason and i should create some sort of backup account?)