RE: dump directly to remote HDD over ssh <-- take it up a notch
From: Dave [Hawk-Systems] (dave_at_hawk-systems.com)
Date: 07/31/03
- Previous message: Adam Maloney: "Re: telnet and router question"
- In reply to: mario: "Re: dump directly to remote HDD over ssh"
- Next in thread: Lawrence Farr: "RE: dump directly to remote HDD over ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <freebsd-isp@freebsd.org> Date: Thu, 31 Jul 2003 09:32:21 -0400
<continuing thread>
>this works for me (sorry no datestamp):
>
>dump -0uf - / | bzip2 | ssh user@box.domain.com dd of=/pathto/file.bz
>
ok, how about this...
to ensure that we don't get too many servers trying to back up to the big
archive server at once, we want to run a script from the controller server...
#!/bin/sh
ssh server1 "dump -3uf - /usr | ssh big_backup_server dd
of=/backups/server1.usr.dump"
ssh server1 "dump -3uf - / | ssh big_backup_server dd
of=/backups/server1.root.dump"
ssh server2 "dump -3uf - /usr | ssh big_backup_server dd
of=/backups/server2.usr.dump"
ssh server2 "dump -3uf - / | ssh big_backup_server dd
of=/backups/server2.root.dump"
running it in this way should ensure that each dump completes before the next
one is started, keeping them stacked, but not overlaying each other and
effectively DOSing the box with all that data, correct?
thanks for this and the verification on the previous
Dave
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Adam Maloney: "Re: telnet and router question"
- In reply to: mario: "Re: dump directly to remote HDD over ssh"
- Next in thread: Lawrence Farr: "RE: dump directly to remote HDD over ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Weird directory entries
... Hugo wrote: ... > server. ... Dave ... To unsubscribe,
... (freebsd-questions) - Re: Server Security
... On Sunday, 19.12.2004 at 09:16 +0000, Jeffrin Thalakkottoor wrote: ... >
Configure The Server That A File On The Server Can ... Dave. ... To UNSUBSCRIBE,
email to debian-user-REQUEST@lists.debian.org ... (Debian-User) - Re: Bug in kernel 2.6.5-1.358smp
... > Hi Dave, ... > I had another crash this morning in my server
but it never got into the ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
... (Fedora) - Trouble with Dave... (the Thursby software) and DFS
... Windows 2003 server to manage a DFS tree. ... DAVE for. ... DAVE
is not consistently accessing the DFS contents. ... bar DFS links pointing at servers
... (uk.comp.sys.mac) - Re: RAID Config for New Exchange 2003 Box
... Thanks Dave I greatly appreciate it. ... > backplane and drive cage will
allow that config. ... >> likely the best to use with an exchange 2003 Server.
... >> layout the disk design. ... (microsoft.public.exchange.design)