I am researching how to make an effective backup on Ubuntu Server. This server will have Vsftp, VPN, Samba stuff , many other added packages +many printers, many users + data.
I know I can use tar for the data /u no problem.
1. I was testing tar on the /home directory on a few user directories.
I then created a new directory and did a restore of the users directories on it.
I noticed the /home/user owner and group were root. The files in each directory remained the same.
This gave me concern. If I had a crash and had to restore these to a new HD. I would have to change these, what else would I need to change?
2. Since I have many config files, how do I back up them? I know I can do a dump, but then users shouldn't be on the system. The system files will change as they add users, printers, etc, and asking users to not work, is not really an option while dump is running.
I thought I could do a tar on whole system. (cron late at night .. not as many users)
Then in event of crash of HD.
1. Boot from live cd
2. format the new drive
3. tar back in the whole system
(hopefully it would restore all my config files and printer setups, etc)
Will this work right?
Is there something I am missing?
I'll take suggestions.
Thanks
Bookmarks