Hi to all, I know it is not security related topic, but I don't want to subscribe to another thread. I want to ask for a backup tool for suse 10. For the configuration files and mailserver I am using rsync to backup the files. How can I backup the user list and passwords... and recover them easy in case of disaster?? Andy.
On Mar 27, Andy <frum@ar-sd.net> wrote:
Hi to all,
I know it is not security related topic, but I don't want to subscribe to another thread. I want to ask for a backup tool for suse 10. For the configuration files and mailserver I am using rsync to backup the files. How can I backup the user list and passwords... and recover them easy in case of disaster??
Hi Andy, First, please fix your mail client to insert line breaks after ~72 characters. I see that you are using Outlook Express which is rather dangerous to use, apart from being non-compliant to standards in several ways. It is easily replaced by the free and more feature-rich Mozilla Thunderbird Mail (http://www.mozilla.com/thunderbird/). Second, the answer to your question is an easy one. The users and passwords are kept in the file /etc/passwd and /etc/shadow. But instead of saving only those two (with tar), I would backup the whole /etc directory, e.g. # tar czvf /data/backup/etc.tar.gz /etc Markus -- __________________ /"\ Markus Gaugusch \ / ASCII Ribbon Campaign markus(at)gaugusch.at X Against HTML Mail / \
Hello, Am Montag, 27. März 2006 20:41 schrieb Markus Gaugusch:
I want to ask for a backup tool for suse 10. For the configuration files and mailserver I am using rsync to backup the files. How can I backup the user list and passwords... and recover them easy in case of disaster?? [...] Second, the answer to your question is an easy one. The users and
On Mar 27, Andy <frum@ar-sd.net> wrote: passwords are kept in the file /etc/passwd and /etc/shadow.
But instead of saving only those two (with tar), I would backup the whole /etc directory, e.g.
# tar czvf /data/backup/etc.tar.gz /etc
I would not recommend compressed tar archives for doing backups - if one bit breaks, the whole archive can be unusable. Andy: If you already have rsync running, just use it to save all of /etc. If you need multiple backup instances, I'd recommend to use storeBackup on the rsync copy. For those who understand german: (sorry, no translation available) 7. Backup http://suse-linux-faq.koehntopp.de/ch/ch-backup.html Regards, Christian Boltz -- [Subject: Re: hpdarm bei Systemstart] Äh, sorry, es geht natürlich um hdparm, nicht um die Gedärme eines hp:-) [Heinrich Eisterer in suse-linux]
Second, the answer to your question is an easy one. The users and passwords are kept in the file /etc/passwd and /etc/shadow.
So if I overwrite these 2 files the users are restored? How can I then automatically create them the local directories? Let's say if we ignore the user files in case of crash), do I have to save the directory structure? ----- Original Message ----- From: "Christian Boltz" <suse-security@cboltz.de> To: <suse-security@suse.com> Sent: Monday, March 27, 2006 9:58 PM Subject: Re: [suse-security] Re: backup solution Hello, Am Montag, 27. März 2006 20:41 schrieb Markus Gaugusch:
I want to ask for a backup tool for suse 10. For the configuration files and mailserver I am using rsync to backup the files. How can I backup the user list and passwords... and recover them easy in case of disaster?? [...] Second, the answer to your question is an easy one. The users and
On Mar 27, Andy <frum@ar-sd.net> wrote: passwords are kept in the file /etc/passwd and /etc/shadow.
But instead of saving only those two (with tar), I would backup the whole /etc directory, e.g.
# tar czvf /data/backup/etc.tar.gz /etc
I would not recommend compressed tar archives for doing backups - if one bit breaks, the whole archive can be unusable. Andy: If you already have rsync running, just use it to save all of /etc. If you need multiple backup instances, I'd recommend to use storeBackup on the rsync copy. For those who understand german: (sorry, no translation available) 7. Backup http://suse-linux-faq.koehntopp.de/ch/ch-backup.html Regards, Christian Boltz -- [Subject: Re: hpdarm bei Systemstart] Äh, sorry, es geht natürlich um hdparm, nicht um die Gedärme eines hp:-) [Heinrich Eisterer in suse-linux] -- Check the headers for your unsubscription address For additional commands, e-mail: suse-security-help@suse.com Security-related bug reports go to security@suse.de, not here
Hi Andy, Am Tuesday 28 March 2006 13:19 schrieb Andy:
Second, the answer to your question is an easy one. The users and passwords are kept in the file /etc/passwd and /etc/shadow.
So if I overwrite these 2 files the users are restored? How can I then automatically create them the local directories? Let's say if we ignore the user files in case of crash), do I have to save the directory structure?
The far better solution would be to backup your data (with the directory structure part of it) on a regular basis and your configuration (including things like passwd, shadow etc.) everytime something changes. When you use differential backups the amount of extra space needed is manageable. As Christian pointed out, take a look at the link he sent. Greetings Wolfgang -- ----------------------------------------------------- Wolfgang Leithner Pinguin-Systeme.at GF Bereich Systeme und Security http://www.pinguin-systeme.at ----------------------------------------------------- GPG Key Fingerprint: 21FE FB64 BD83 8385 364A E927 BB2F F331 84FD 12A9 ----------------------------------------------------- GPG Public Key can be found at: http://www.pinguin-systeme.at/privacy/wl.asc ----------------------------------------------------- Registered Linux User # 388544 To support the Cause of Linux and OpenSource please register at: http://counter.li.org
participants (4)
-
Andy
-
Christian Boltz
-
Markus Gaugusch
-
Wolfgang Leithner