- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Backup and restore command for linux
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-12-2004 04:51 PM
12-12-2004 04:51 PM
Backup and restore command for linux
Just want double confirm for tar command to backup file systems to tape and restore file systems from the tape are same as HP-UX as following ?
backup : tar cvf / /dev/rmt/c0t0d0DDS
restore: tar xvf /dev/rmt/c0t0d0DDS /
what is the complete command format for dd command to copy whole harddisk to another disk?
best regards
Leon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2004 08:51 PM
12-12-2004 08:51 PM
Re: Backup and restore command for linux
first destination then file to backup!!!
Restore : # cd
# tar -xvf /dev/rmt/c0t0d0DDS
For dd command:
# dd if=/dev/dsk/source of=/dev/dsk/destination bs=1024 ((block size)or 512 or 2048 as you want...)
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 12:52 AM
12-13-2004 12:52 AM
Re: Backup and restore command for linux
dd and tar command are basic UNIX command and not differ in their sytax for different UNIX flavour. So go ahead and start using it as you were using it on HPUX,.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 01:16 AM
12-13-2004 01:16 AM
Re: Backup and restore command for linux
Linux: tar --help
HP-UX: tar -h
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2004 04:00 AM
12-13-2004 04:00 AM
Re: Backup and restore command for linux
dd example dd if=/dev/hda5 of=/tmp/hda5backup
than you can view backup via loop fs
mount /u01/hda5backup /mnt/test -t ext3 -o loop
where the ext3 is the used fs
these tar command are same on HP-UX and Linux
(you can use -cvf -xvf as well not only cvf xvf;-)
rgds Jan