- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: backup
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
Forums
Discussions
Discussions
Discussions
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
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
08-01-2002 11:39 PM
08-01-2002 11:39 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:44 PM
08-01-2002 11:44 PM
Re: backup
# tar -cvf /dev/rmt/0m /usr /home /tmp
In fact, you can name multiple directories in one single tar command.
Regards,
Kenneth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:46 PM
08-01-2002 11:46 PM
Re: backup
But remember, tar is not a very clever backup program - it does no checking to ensure your file was successfully backed up to tape. Much better to use fbackup - this is HP's recommended tool for backups as it does all sorts of error checking to ensure the integrity of your backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:46 PM
08-01-2002 11:46 PM
Re: backup
Very much, you can use tar/cpio/dd.
If you wanted to use tar and backup on tape
#tar cvf /dev/dsk/rmtX /usr /home /tmp
or on to a file
#tar cvf file_name /usr /home /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:47 PM
08-01-2002 11:47 PM
Re: backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:48 PM
08-01-2002 11:48 PM
Re: backup
Of course you can do this with tar, just type
tar -cvf /dev/rmt/0m /usr /home /temp .. or
tar -cvf /dir/logfile /usr /home /temp ..
But when you extract the archive it will overwrite the existing path as you use the absolute path to backup the files.
As my opinion, I like to use the relative path to backup the files, just type
cd /
tar -cvf /dev/rmt/0m ./usr ./home ./temp .. or
tar -cvf /dir/logfile ./usr ./home ./temp
When you want to extract the archive you can make a new directory first, then change directory into it and do the extract. Then you will have another copy that will not affect the original one !
Regards,
Patrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:50 PM
08-01-2002 11:50 PM
Re: backup
You no need to specify all the files in a directory, just specify the directory name.
tar does the backup of all the files in that directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:54 PM
08-01-2002 11:54 PM
Re: backup
1./temp/file1
2./temp/file2
3./temp/file3
???
???
4./usr/file1
5./usr/file2
6./usr/file3
???
???
7./home/file1
8./home/file2
9./home/file3
???
???
so i want to specify in a list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 12:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 12:07 AM
08-02-2002 12:07 AM
Re: backup
i /temp/file1
i /temp/file2
i /temp/file3
i /usr/file1
i /usr/file2
i /usr/file3
i /home/file1
i /home/file2
i /home/file3
Then use the command;
fbackup -v -f /dev/rmt/0m -g
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 12:19 AM
08-02-2002 12:19 AM