Operating System - HP-UX
1753902 Members
9447 Online
108810 Solutions
New Discussion юеВ

Re: Backup of a filesystem on another ftp server

 
SOLVED
Go to solution
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

Should i try with these commands:

#cd /opt
#tar -cf - ./oracle | ssh "cd /home ; tar -xvf -"

is it ./oracle or /oracle ??
will it copy all the directories under oracle directory?

Solution

Re: Backup of a filesystem on another ftp server

Hi Vipin,
For enabling remsh, see the last post of James Ferguson. When you have it enabled, you must use "./oracle"
Steven E. Protter
Exalted Contributor

Re: Backup of a filesystem on another ftp server

Shalom Vipin,

If you are starting fresh, consider scp as an rcp replacement.

scp -rp * targethost:/targetdirectory

Will do the trick.

I've seen in all of these methods under certain circumstances the copy isn't good. This is not a highly reliable way to back up the files.

I would suggest this:

Online JFS snapshots.

In summary, you create a temporary logical volume about 20% the size of the lv being backed up. While the snapshot is in place all writes go tot he temporary lvol.

While this is happening, you can get a good, clean copy of the filesystem in question. You can use fbackup, its like the filesystem isn't being used.

Then close the snapshot, all writes to the temporary lvol get written to the original and there is no downtime at all.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

# scp -rp user@host:/
admin@170.118.8.54's password:
sh: scp: command not found
lost connection

I am able to use ftp.
but how can i copy directories using ftp?
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

# /opt/ssh/bin/scp -rp oui admin@111.111.1.11:/Backup/dipper/dipper_opt_oracle_171105/
ssh: connect to host 111.111.1.11 port 22: Connection timed out
lost connection


please suggest what to do
thanks
vipin