- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to perform backup using SAM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 08:18 PM
тАО09-20-2006 08:18 PM
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 311296 275920 35208 89% /
/dev/vg00/lvol1 298928 56264 212768 21% /stand
/dev/vg00/lvol8 4194304 2010696 2167616 48% /var
/dev/vg00/lvol7 1548288 1017120 527048 66% /usr
/dev/vg00/lvol4 524288 293968 228584 56% /tmp
/dev/vg00/lvol6 1548288 1458264 89360 94% /opt
/dev/vg00/lvol5 106496 4024 101704 4% /home
/dev/vg04/lvol1 20480000 10260528 10075376 50% /appl
/dev/vg04/lvol2 516096 1229 482695 0% /scripts
/dev/vg04/lvol3 10240000 386558 9545554 4% /backup
thnk you..regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 08:49 PM
тАО09-20-2006 08:49 PM
Re: how to perform backup using SAM
you would probably be better off doing a copy
with the -R option
Just be aware of open files on /var
see
man cp
Also:
http://forums1.itrc.hp.com/service/forums/helptips.do?#28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 11:03 PM
тАО09-20-2006 11:03 PM
Re: how to perform backup using SAM
You can do it easily from command line using cpio. do the follwoing
cd /var
find . -depth -print|cpio -pdlmvu /backup
The command abovecopies everything including symbolic links
-PB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-20-2006 11:11 PM
тАО09-20-2006 11:11 PM
Re: how to perform backup using SAM
The thing is if go to sam ----> backup and recovery ----> Interactive backup and recovery ----> then it will look for backup device, but you want to backup to another directory and SAM does not give you this flexibility.
Please follow the advice posted before, also you can use fbackup to do the job.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 02:33 AM
тАО09-21-2006 02:33 AM
Re: how to perform backup using SAM
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-21-2006 01:27 PM
тАО09-21-2006 01:27 PM
Re: how to perform backup using SAM
for this case i think ill try cpio that mentioned. Actually, im trying to perform housekeeping on /var and make the /backup as a temporary destination for the backup job.what do you think if i use sam>>routine task>>log>>trim to recommended size for the /var? What happen if i do it when other user connected?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 08:51 AM
тАО09-22-2006 08:51 AM
Re: how to perform backup using SAM
I've writen a few scipts to accomplish just what you're trying to do. I say, "why re-invent the wheel if you don't have to".
Please find the attached script and graph file.
Update the script entries . . .
export _WD=/DR/shell # Change
export _DR=/DR # Change
export _list=$_WD/$(basename $0).list # Change - Graph file to update to include or exclude files/ directories
As well as the graph file 'daily_dr.sh.list' . . .
# i=include e=exclude a=all f=file
i f / .profile .sh_history
i a /etc/lp
i a /sbin/rc0.d
i a /sbin/rc1.d
i a /sbin/rc2.d
i a /sbin/rc3.d
i a /sbin/rc4.d
i a /etc/mail
i a /etc/lvmconf
i a /etc/rc.config.d
i a /etc/ftpd
i f /etc/ fstab group hosts inetd.conf inittab lvmpvg lvmtab nsswitch.conf ntp.conf pam.conf pam_user.conf passwd resolv.conf services syslog.conf
I hope this comes accros okay. If it dosn't let me know.
Regards,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2006 12:20 PM
тАО09-22-2006 12:20 PM
Solutiondu -kx /var | sort -rn | head -20
This will show you the biggest directories, sorted largest first. If /var/adm is at the top of the list, use SAM to trim the logfiles. The standard values will work fine and trimming can be done while the system is busy.
If there are other directories that are very large, please paste a copy of the above command output and we can suggest what you can do next.
Bill Hassell, sysadmin