Grokbase
Topics Posts Groups | in
x
[ help ]

Re: Dump on remote filesystems?

View PostFlat  Thread  Threaded | < Prev - Next >
Theo Band [GreenPeak] Re: [CentOS] Dump on remote filesystems?
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Scott Ehrlich wrote:
> I have a couple C5 systems I want to back up. My plan is to, one way
> or another, back them up to a C5 machine in my office. I have samba
> installed on the systems to back up, the machines are mounted on the
> system in my office, and a tape library hanging of the system in my
> office.
>
> I was hoping to perform a simple /sbin/dump of the remote systems. I
> put together a script for another successful backup I have going on a
> system with local filesystems. But for remote filesystems, I get
> errors of File Cannot Be Accessed (//remote_system/subdir) which does
> exist as an smb mounted filesystem.
>
> I'd use NFS, but I would like a bit more control and some level of
> encryption for the user authentication and data being transferred.
>
> If a direct dump of remote smb filesystems isn't possible, I may opt
> to have each system perform their own local dumps, then run a script
> locally on the tape-connected machine to dump those local dumps, or
> copy the dumps locally then dump them to tape.
>
> If nothing else works, I can always install Windows XP and use Windows
> backup program, but I'd really like to try and get this going under
> Linux before going that route.
>
> Thanks for insights.
>
> Scott

What you could do is to dump from the remote machine to the main backup
machine. For this to work I work with ssh keys (no password needed).
The example assumes the backup is started from the remote host. But in
principle it can also be initiated from the backup server using ssh.

SRC_SERVER=this_hostname
BAK_SERVER=backup_server
DATE=$(date +%Y%m%d)
dumplevel=0
export RSH=ssh

ssh $BAK_SERVER mkdir -p /backup/${SRC_SERVER}/${DATE}_${dumplevel}
# file needs to exist
backup_file=/backup/somefile
ssh $BAK_SERVER touch ${backup_file}
dump -${dumplevel} -u -z -f $BAK_SERVER:${backup_file}
/dev/VolGroup00/VolGroup00



Theo
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

Thread : Dump on remote filesystems?
1)
Scott R Ehrlich I have a couple C5 systems I want to back up. My plan is to, one way or another, back them up to a...
2)
Tom Brown use amanda, www.amanda.org it rocks
3)
Tony Molloy Or have a look at BackupPC <http://backuppc.sourceforge.net/> Tony >...
4)
Scott R Ehrlich My fundamental question is why dump claims it cannot access what I want it to back up. What's to...
5)
Tom Brown well i have not come accross the error(s) you listed when using amanda to do the backup - You...
6)
Luke Dudney I've never used dump before but reading the manpage seems to indicate that it's a tool for backing...
7)
Les Mikesell Dump is file-system oriented and won't handle remote-mounted directories. You can use file-oriented...
8)
Toby Bluhm I've never had dump try to access anything other than the physical or logical partition. So if you...
9)
Scott Silva This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --==============92288628=Content-Type:...
10)
Theo Band [GreenPeak] What you could do is to dump from the remote machine to the main backup machine. For this to work I...
11)
Kenneth Porter dump works at the device level, dumping the raw block device by interpreting the ext2/3 structures...
spacer
View PostFlat  Thread  Threaded | < Prev - Next >
Home > Groups > CentOS > Dump on remote filesystems? (11 posts) > View Post