1838458 Members
3145 Online
110126 Solutions
New Discussion

Backup over Network

 
SOLVED
Go to solution
Olebile Molefi
Occasional Contributor

Backup over Network

How do I back up a whole directory struture over a network from a Sun workstation to an HP server??
FTP won't work....
4 REPLIES 4
Pedro Sousa
Honored Contributor
Solution

Re: Backup over Network

Why ftp does not work???
You can choose to make a tar first of the source, and then you just need to copy one archive.
good luck.
Edward Sedgemore
Trusted Contributor

Re: Backup over Network


you firstly need to use a command which will work on both servers so lets use tar.

You then need to setup your sun box so you can remsh to it without a password so we can run the backup.

Then you can back it up to say a local tape drive on your server by doing a command such as;

remsh -l "tar cvf - " | dd of= bs=64k

eg. If you sunbox is called SUN1 and you want to backup all of /tmp to your local tape dirve called /dev/rmt/1m then do;

remsh SUN1 -l root "tar cvf - /tmp" | dd of=/dev/rmt/1m bs=64k

And to check its on the tape aok do;

dd if=/dev/rmt/1m bs=64k | tar tvf -
Olebile Molefi
Occasional Contributor

Re: Backup over Network

Thanx Guys
ramesh_4
Occasional Advisor

Re: Backup over Network

One more way of backing up over the network is through NFS . Mount the filesystem where the directory needs to be backed up in the HP Server, before that share that filesystem using the share command.

Then simple use the tar, fbackup, cpio anything you want to backup the directory to a tape device...

Better i would suggest you use fbackup thats HP's special utility..
like to find out new things and compare with other flavours of unix