Re: System backup/snapshot

2005-08-18 Thread Tom Vier
I've been using pdumpfs, for years, and works great. It emulates plan9's
dump fs.

-- 
Tom Vier [EMAIL PROTECTED]
DSA Key ID 0x15741ECE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



System backup/snapshot

2005-08-16 Thread [EMAIL PROTECTED]
Hi,

I need some mechanism in/for debian to be able to make whole system
backup and restore.

Why ?

I want for example perform some updates on the system that may be
upgrading/changing of debian packages, some files or firebird database.
If one of the update tasks failed i want be able to restore complete
previous system before all updates occurs.

Is there are general solutions for this?

Thanks,
Pavel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 I want for example perform some updates on the system that may be
 upgrading/changing of debian packages, some files or firebird database.
 If one of the update tasks failed i want be able to restore complete
 previous system before all updates occurs.
 
 Is there are general solutions for this?

daily:
   tar zcvf /opt/BACKUP.date.tgz `find /etc /home $TYPE -mtime -90 -print`

once a month, or however often you're paranoia tells you to do full
backups
   tar zcvf /opt/BACKUP.date.FULL.tgz `find /etc /home $TYPE  -print `


- where TYPE == ( -type f -o -type l )

- mount, sync, unmount before and after the find | tar 
- grep out anything yoou do not want backed up, add anything else you want

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread [EMAIL PROTECTED]
Thank Alvin, but i am looking for more efficient mechanism.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Hugo Vanwoerkom

[EMAIL PROTECTED] wrote:

Hi,

I need some mechanism in/for debian to be able to make whole system
backup and restore.

Why ?

I want for example perform some updates on the system that may be
upgrading/changing of debian packages, some files or firebird database.
If one of the update tasks failed i want be able to restore complete
previous system before all updates occurs.

Is there are general solutions for this?



For that I use partimage. Make the backup. Do the dist-upgrade. Test the 
changes. If I don't like it. partimage+restore.


The disadvantage is that you cannot be on the system you backup.

If you want to do that use mondo, it creates bootable CD's, but that 
process takes a lot longer, the advantage being you can do that on the 
current system and boot the CD(s) anywhere else, not so with partimage.


HTH
H


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: System backup/snapshot

2005-08-16 Thread Steve Lamb
[EMAIL PROTECTED] wrote:
 Thank Alvin, but i am looking for more efficient mechanism.

Dirvish.


-- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


signature.asc
Description: OpenPGP digital signature


Re: System backup/snapshot

2005-08-16 Thread [EMAIL PROTECTED]
I need to save several versions of the backup on the local disk and be
able to restore it when system is running.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Bill Moseley
On Tue, Aug 16, 2005 at 06:11:25AM -0700, [EMAIL PROTECTED] wrote:
 I need to save several versions of the backup on the local disk and be
 able to restore it when system is running.

I had this reference in my links.

http://www.mikerubel.org/computers/rsync_snapshots/

On a related topic -- I understand there's a bunch of a failover
systems available, but I often would like to have a backup machine
that can take over as a primary machine if the original primary
machine fails.

/etc/ has configs for both application level services (Apache, DNS,
etc.) but also has hardware/machine specific settings.

So, I've been thinking of trying a setup where services like Apache
that instead of using /etc/apache they use /etc/services/apache (and
/etc/services/bind, etc.).

Then /etc/services would be a symlink to various different
configurations (e.g. /etc/primary /etc/backup).  Then use rsync to
keep those the same on both machines.

The problem with that is the /etc/init.d/ scripts are hard-wired to
use /etc so I assume an update to an init.d script would overwrite
that setup.

-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Maurits van Rees
On Tue, Aug 16, 2005 at 07:18:29AM -0700, Bill Moseley wrote:
 I had this reference in my links.
 
 http://www.mikerubel.org/computers/rsync_snapshots/

I'm using that.  More specifically: Debian package rsnapshot.

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands] 
Public GnuPG key:  http://maurits.vanrees.org/var/gpgkey.asc
It can seem like you're doing just fine,
but the creep's creeping into your mind. - Neal Morse


signature.asc
Description: Digital signature


Re: System backup/snapshot

2005-08-16 Thread Rogério Brito
On Aug 16 2005, Hugo Vanwoerkom wrote:
 If you want to do that use mondo, it creates bootable CD's, but that 
 process takes a lot longer, the advantage being you can do that on the 
 current system and boot the CD(s) anywhere else, not so with partimage.

And don't forget, if you use mondo to backup to CDs, to test them for
readability with dvdisaster. You won't want to be surprised to know your
drive doesn't read the CDs where you put your data on.


Hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread [EMAIL PROTECTED]
I think the rsnapshot will be the best solution.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 I need to save several versions of the backup on the local disk and be
 able to restore it when system is running.

it is practically impossible to (randomly) restore a running system
and if you can do that, you'd be a multi-billionaire

it will restore files that is not being used at the time or previous
commands and system status

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: System backup/snapshot

2005-08-16 Thread Rick Friedman
On Tuesday 16 August 2005 12:29 pm, Rogério Brito wrote:
 And don't forget, if you use mondo to backup to CDs, to test them for
 readability with dvdisaster. You won't want to be surprised to know your
 drive doesn't read the CDs where you put your data on.

I use mondo for my home machine and I've been looking for a good app to do 
just what dvdisaster does. I hadn't seen dvdisaster before. Thanks to your 
message, I learned about it and I like what I see since I've been testing it 
out.

Thanks for the heads up!! :)
Rick
-- 
Rick's Law: What cannot be imagined will be accomplished by a fool.


pgpdzq5e74QOq.pgp
Description: PGP signature