Operating System - HP-UX
1834414 Members
1607 Online
110067 Solutions
New Discussion

Re: Automated File Backup

 
Pankaj_22
Advisor

Automated File Backup

I want to take the File Level (Without Tape Drive) backup from one machine to another machine. This should be automated Backup.

Please guide me
7 REPLIES 7
Mel Burslan
Honored Contributor

Re: Automated File Backup

if both machines are hpux and you have ssh installed, you just need to set up a pair of trusted keys and use scp to copy file(s) from one machine to the other using somethinglike this:

scp /local/file/name remotehost:/remote/file/name.

a guide, written by Steven Protter is attached to guide you to set up the trusted keys (MS Word Doc).

Hope this helps
________________________________
UNIX because I majored in cryptology...
Ivan Ferreira
Honored Contributor

Re: Automated File Backup

I saw that your last post is about linux.

Are you using Linux or HP-UX?

If HP-UX:

fbackup -f remote_system:/dev/rmt/0m -i /filesystem

If Linux:

env RSH=/usr/bin/ssh star -c -xdev f=user@remote_system:/dev/st0 /filesystem
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: Automated File Backup

I saw that your last post is about linux.

Are you using Linux or HP-UX?

If HP-UX:

fbackup -f remote_system:/tmp/backupfile.fbackup -i /filesystem

If Linux:

env RSH=/usr/bin/ssh star -c -xdev f=user@remote_system:/tmp/backupfile.star /filesystem
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bill Thorsteinson
Honored Contributor

Re: Automated File Backup

If you are just want a copy of the file,
consider using rsync. It is very efficient
at synconizing changes in files.

I use rsync to update copies of my web server
access logs which grow over the week. Only
some checksum data and the new data is copied.

I also use it to update a web site from a test
site. Again only changes are copied.
Pankaj_22
Advisor

Re: Automated File Backup

I am Sorry guys as I have not given you complete information.

1. I have Linux system where the data should be backed up from Unix machine.

2. I have Unix machine from where data should be backed up on Linux Machine.



Piotr Smerda
Occasional Contributor

Re: Automated File Backup

Hi
Maybe You can use rsync(with ssh of course) or snapback2 tool?

Regards
Peter
Pankaj_22
Advisor

Re: Automated File Backup

I am so sorry as I am lehman in Unix. Can anybody guide me how to use Rsync or Snapback2 tool.

Thanks