Operating System - HP-UX
1755691 Members
2846 Online
108837 Solutions
New Discussion юеВ

Backup of a filesystem on another ftp server

 
SOLVED
Go to solution
Vipin Singhal
Super Advisor

Backup of a filesystem on another ftp server

Hi friends,
i need to take a backup of my file system /opt/oracle to another server. after completion of backup, i need to extend this filesystem size.

what should i do?

Should I use NFS mount?
If i use NFS mount, then there will be no problem while extending the size of logical volume and file systems

please tell me the steps.
thanks
vipin


14 REPLIES 14
Sunil Sharma_1
Honored Contributor

Re: Backup of a filesystem on another ftp server

You can take backup to another server using NFS/FTP/SCP/rcp etc.


If you have online JFS installed you can increase FS online otherwise you need to umount file ssytema and do this.


Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
Pete Randall
Outstanding Contributor

Re: Backup of a filesystem on another ftp server

My first choice would be to back up to tape using fbackup or similar. Do you have a tape drive available?


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: Backup of a filesystem on another ftp server

Hi Vipin:

Consider using 'rcp -pr'. It gets the task accomplished and isolates a copy of your filesystem quickly and easily.

Regards!

...JRF...
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

I have online JFS,
But just for security, I want to take the backup of this file system to another server,

I dont have any tape drive.

I was trying with ftp.
but it works with files, and i need to backup of so many directories.
ftp > mput *
mput directory_1? y
directory_1: not a plain file.

Please suggest.

Re: Backup of a filesystem on another ftp server

Hello,
I think the best way to do this is using tar.
MAke sure you can use remsh to the other server, and that you have enough free diskspace. Follow the next scenario:
# cd /opt
# tar -cf - ./oracle | remsh "cd ; tar -xvf - "
After this you can umount and extend the lvol and filesystem.

Goodluck,
Best regards,
Addie Wevers.
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

when I was trying with rcp. it comes connection refused.

I am able to login through ftp
James R. Ferguson
Acclaimed Contributor

Re: Backup of a filesystem on another ftp server

Hi Vipin:

In order to use 'rcp' you must setup your '/etc/hosts.equiv. or ${HOME}.rhosts files and make sure that the 'remshd' daemon is enabled in '/etc/inetd.conf'.

Regards!

...JRF...
Jeff_Traigle
Honored Contributor

Re: Backup of a filesystem on another ftp server

Or you should be able to use ssh instead of remsh.

tar -cf - ./oracle | ssh "cd ; tar -xvf -
--
Jeff Traigle
Vipin Singhal
Super Advisor

Re: Backup of a filesystem on another ftp server

ssh is also block to the remote server