Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-27-2014, 03:18 AM   #1
Registered: Mar 2007
Posts: 245

Rep: Reputation: 16
ssh and backup usage with SystemRescueCD Linux

I posted recently on SystemRescueCD but got no answer to two specific questions. Probably, these were hided. Here explicitly.

Trying to edit Debian amd64 jessy raid mirror, two disks, with SystemRescueDCx86-4.2.0, my raid is recognized perfecly:

francesco@gig64:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg1-root 922M 839M 35M 97% /
udev 10M 0 10M 0% /dev
tmpfs 1.6G 860K 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.2G 80K 3.2G 1% /run/shm
/dev/mapper/vg1-home 770G 271G 461G 37% /home
/dev/mapper/vg1-opt 9.1G 3.1G 5.6G 36% /opt
/dev/mapper/vg1-tmp 5.4G 12M 5.1G 1% /tmp
/dev/mapper/vg1-usr 55G 6.4G 46G 13% /usr
/dev/mapper/vg1-var 19G 2.5G 15G 15% /var
none 4.0K 0 4.0K 0% /sys/fs/cgroup

root@gig64:/home/francesco# cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mapper/vg1-root / ext3 errors=remount-ro 0 1
/dev/mapper/vg1-home /home ext3 defaults 0 2
/dev/mapper/vg1-opt /opt ext3 defaults 0 2
/dev/mapper/vg1-tmp /tmp ext3 defaults 0 2
/dev/mapper/vg1-usr /usr ext3 defaults 0 2
/dev/mapper/vg1-var /var ext3 defaults 0 2
/dev/mapper/vg1-swap none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0

Before editing with resize2fs and lv managing, I want to backup vg1-root and vg1-home on another linux machine on my internal network. I would like to have explicitly the commands for the ssh code, either scp or rsync. I can give a pass and a group/user to SystemRescueCD, however neither proved of help and the manual to this regard is cryptic.

Old 05-29-2014, 07:22 AM   #2
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
I suggest dump for backups of ext* filesystems. Send output to stdout and transfer to another host with ssh.

Something like
dump 0f - /  | dd bs=64k | ssh foo@other 'cat > dump0_root_deb_gig64'
Test restoring that on the other host before doing anything destructive.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Juniper firewall backup using ssh from linux Iyyappan Linux - Server 3 08-25-2012 04:37 AM
LXer: SystemRescueCd 2.5.0 Has Linux Kernel 3.2.6 LXer Syndicated Linux News 0 02-22-2012 01:00 PM
LXer: SystemRescueCd 2.4.0 Has Linux Kernel 3.1.0 LXer Syndicated Linux News 0 11-04-2011 04:00 AM
ssh error during backup from XP to linux server tennis_slacker Linux - Server 2 04-22-2009 02:06 PM
Windows to Linux ssh backup? SSBN Linux - Networking 1 03-20-2004 01:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration