- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Backups on tape
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
12-18-2001 05:59 PM
12-18-2001 05:59 PM
Could you recommend me another software to backup or the right way to backup with tar or dump with multi-volume option?
Thank you.
I will appreciate any help.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 11:49 AM
12-19-2001 11:49 AM
Re: Backups on tape
You can use fbackup command :
fbackup -0i / -f /dev/rmt/0mn
(For all host file system)
fbackup -0i / -e
(For selected data)
ex.:
fbackup -0i / -e /tbdat -e /tbsys -e /dbs -e /tbsys_u2 -f /dev/rmt/0mn
You can use with sam!
Good luck.
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 12:05 PM
12-19-2001 12:05 PM
Re: Backups on tape
fbackup / sam are UX tools with linux version / tar version are you using?
you could create a shel script that figures out the ammount of data that is in the file systems you try to backup (
A=0
for i in `df -vk | grep -v used | awk '{print $3)'`
do
let A="$A ++ $1"
echo $A
done
should show the ammount of disk space used.
combine it with the ammount of data you can put on tape and start a partial backup.
Hope this will help,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2001 02:14 PM
12-19-2001 02:14 PM
Re: Backups on tape
just a thought.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 05:29 AM
12-20-2001 05:29 AM
Re: Backups on tape
cd /tmp
find . |cpio -ocv < /dev/
o
find /home |cpio -ocv < /dev/
cpio -ocv /home < /dev/
whit -C he establishes the size in blocks of E/S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 12:14 PM
12-20-2001 12:14 PM
Re: Backups on tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 12:57 PM
12-20-2001 12:57 PM
Re: Backups on tape
dump -0 -f /dev/rmt0n /
To perform an interactive restore, you use...
restore -i -f /dev/rmt0n
Dump/restore are filsesystem specific; that is, you can't use dump/restore in a ReiserFS filesystem. If you're using XFS, it features xfsdump/xfsrestore. I don't know how JFS manages filesystem dumps.
Hope it helps,
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2001 03:39 PM
12-20-2001 03:39 PM
SolutionThe best way to achieve what you want is to use a real backup software, instead of "tar" or "cpio" (standard unix archiving software).
In OpenSource products, you can read the documentation of "amanda" (I don't know how to use it, but I've heard that it is a good product).
In commercial products, I would suggest ARKEIA that is normally free for a very limited number of clients.
Of course, both software handle multi-volume. They can also backup over the network to another machine (client/server).
Another trick : if the -M option of the "tar" command is not reliable, it may be due to the variable size of your data. I guess (but I'm not sure) at the end of the tape, the last data block sometimes could be truncated and in that case the tar would return and error.
To avoid that, you can force the tar to request another tape when it reaches a pre-defined size, by using the "-L" option.
For example if you use a DDS3 device with 125m tapes and compression, the mean amount data that could be theoretically stored is 24 GB. Then, you may use "-L" to limit this size to 20 GB, to force the "tar" command requesting another tape before reaching the end-of-tape.
I guess the "-L" should be combined with "-M", but I haven't tested this.
Good luck.
Kodjo