Bryce Stenberg wrote, On 02/10/09 16:53:
First question – is it right that ‘tar’ does not need to run using ‘sudo’, as in it can still access all the files?

Wrong - tar is a running process that has the same file access as the user it runs as. If you run it as root, you can read all files. If it runs as a user, it can only read the files they'd have access to. If you're starting it from cron, its likely you're running as root.

Secondly, does it backup all open files as well? (in windows ntbackup use to choke on open files)

Depends... a file that is opened read/write should be skipped, but a file opened read-only will backup okay.

And this brings me to the other type of backup
... windows backups

Firstly you need to decide what you require from the machine if it was rogered.

1       User data
2       email
3       sql databases
4       /etc
5       /root
6       /usr/local
7       /opt
plus a list of installed packages, and anything else critical.

OR you can do some kind of rsync backup to another machine with a large drive and use that to restore.

RAID1 is good, and disks are cheap enough these days.



--
Craig Falconer

Reply via email to