Revision [3618]

Last edited on 2010-01-21 02:44:47 by WikiAdmin
Additions:
==Or use netcat==
Recipient
nc -l 1234 | tar xv
Sender
tar cf - | nc -q1 1234
# some netcat variants does not take -q, use -c instead.


Revision [3614]

Edited on 2010-01-11 05:41:37 by WikiAdmin
Additions:
==[[StorageDVDBackup Backup to multiple dvd's]]==


Revision [1852]

Edited on 2008-07-27 08:25:16 by WikiAdmin
Additions:
==Use cpio to backup fileystem==
The following command backs up / and do not cross to other filesystem under /
find / -xdev | cpio -ovF /mnt/backup/root_bak.cpio


Revision [1769]

Edited on 2008-06-19 20:28:53 by WikiAdmin
Additions:
tar cvf - /home | ssh user@remote "(cd /; tar xvf -)"
Deletions:
tar zcvf - /home | ssh user@someserver.tld "cat > ~/20080522.tar.gz"


Revision [1736]

Edited on 2008-06-02 06:37:07 by WikiAdmin
Additions:
==[[StorageBacula Backup with Bacula]]==


Revision [1726]

Edited on 2008-05-21 22:35:24 by WikiAdmin
Additions:
==Tar-ring to a remote server==
tar zcvf - /home | ssh user@someserver.tld "cat > ~/20080522.tar.gz"


Revision [656]

Edited on 2007-06-07 07:22:50 by WikiAdmin
Additions:
**Subtopics**
==[[StorageLVMSnap Backup with LVM snapshot]]==


Revision [651]

Edited on 2007-06-06 07:48:21 by WikiAdmin
Additions:
restore vrf /dev/usbdrive/sda6.dmp
Deletions:
restore rf /dev/usbdrive/sda6.dmp


Revision [650]

Edited on 2007-06-06 06:12:51 by WikiAdmin
Additions:
DUMP: 100.00% done at 5052 kB/s, finished in 0:00
DUMP: Closing /mnt/usb/opt.dmp
DUMP: Volume 1 completed at: Wed Jun 6 21:10:11 2007
DUMP: Volume 1 4549260 blocks (4442.64MB)
DUMP: Volume 1 took 0:15:01
DUMP: Volume 1 transfer rate: 5049 kB/s
DUMP: 4549260 blocks (4442.64MB) on 1 volume(s)
DUMP: finished in 901 seconds, throughput 5049 kBytes/sec
DUMP: Date this dump completed: Wed Jun 6 21:10:11 2007
DUMP: Average transfer rate: 5049 kB/s
DUMP: DUMP IS DONE
==Side-by-side dumping and restore==
One can use the dump and restore commands to clone a partition. I have not tried it myself.
cd /opt_clone
dump 0uf - /opt | restore rf -
Do it remotely
ssh 10.42.3.42 'dump 0uf - /' | restore rf -


Revision [649]

Edited on 2007-06-06 06:04:28 by WikiAdmin
Additions:
DUMP: Date of this level 0 dump: Wed Jun 6 20:54:24 2007
DUMP: 42.85% done at 6037 kB/s, finished in 0:06
Deletions:
''DUMP: Date of this level 0 dump: Wed Jun 6 20:54:24 2007
DUMP: 42.85% done at 6037 kB/s, finished in 0:06''


Revision [648]

Edited on 2007-06-06 06:04:07 by WikiAdmin
Additions:
''DUMP: Date of this level 0 dump: Wed Jun 6 20:54:24 2007
DUMP: Dumping /dev/sda6 (/opt) to /mnt/usb/opt.dmp
DUMP: Label: /opt
DUMP: Writing 10 Kilobyte records
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 4226843 blocks.
DUMP: Volume 1 started with block 1 at: Wed Jun 6 20:55:10 2007
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 42.85% done at 6037 kB/s, finished in 0:06''


Revision [647]

Edited on 2007-06-06 06:02:07 by WikiAdmin
Additions:
==Restoring a partition with the dump file==
Restore is easy. Change to the directory you want to restore data to, say I want to restore to /opt
cd /opt
restore rf /dev/usbdrive/sda6.dmp


Revision [646]

Edited on 2007-06-06 06:00:42 by WikiAdmin
Additions:
Supposedly, one can also do a network dump with the **rdump** command
rdump 0uf tapeserver:/dev/nst0 /home


Revision [645]

The oldest known version of this page was created on 2007-06-06 05:59:13 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki