1833861 Members
2425 Online
110063 Solutions
New Discussion

uvbackup command line

 
William Richard
Occasional Contributor

uvbackup command line

Greetings all,
I have been attempting to write shell script using the uvbackup command, here is the code:

#############################################
#!/bin/sh
echo !!! FULL SYSTEM BACKUP !!!
echo Enter the date. Example 111903
read date
find / \( -fsonly hfs -o -fsonly vxfs \) -print | uvbackup -f -v -l "$date_full" -s "/backup/$date.logfile" - > /backup/$date.1
#############################################
The above code is working fine however, the "/backup" folder is an NFS mount that only has the ability to keep 2.14GB of data per file. The NFS Server is running file system ext3.
Now for the question:
How can I specify multiple backup locations for one instance of uvbackup. Such as: /backup/$date.1 /backup/$date.2 etc. I have tried it several different ways but keep receiving an error. I know uvbackup has the ability to accept multiple paths because we use a program called MasterLink that allows me to speicify multiple paths. Any help with this would be greatly appreciated.

Regards,
Will
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: uvbackup command line

If you are writing to a target nfs filesystem, that filesystem needs to have largefiles enabled on it.

at create time:

newfs -F vxfs -o largefiles /dev/vg00/rlvol1

or fsadm

Assumng the nfs mount is an HP-UX system.

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
William Richard
Occasional Contributor

Re: uvbackup command line

The NFS Server is Slackware 9.1. I know I can change the fs support files larger than 2gb but I was wondering if there was a way to specify more uvbackup locations in a single command line.
William Richard
Occasional Contributor

Re: uvbackup command line

I resolved it. Instead of creating multiple 2.14GB backup files I formatted the RAID drives on the Linux side and ran mkreiserfs on the set. Now I don't have a 2.14GB barrier anymore. Thanks for the reply though.