Best Answer
You can even make three file, but if you want only one file:
tar czf /pathwhereyouwant/backupfile.tgz /home/homedir1 /home/homedir2 /home/homedir3
After creation where you want to upload this file?
|
You can type this
cd /home
tar cvf home-backup-date user[1-100]
or
find /home |cpio -i >/hdd/home-backup-date
|
Tar cvJf FULL_PATH_OF_BACKUP.bz2 home1 home2 home3
c=create
v=verbose
J=bzip2
f=file
target will be on FULL_PATH_OF_BACKUP.bz2
Response by: jalal3623 points |
Ahh, I didn't know you could do that with tar.
I can actually put that in a script now - thank you. Points to you.
Response by: poppy1375 points |