LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2017, 07:49 PM   #1
twizzard
LQ Newbie
 
Registered: Jun 2002
Distribution: Ubuntu 16.04
Posts: 7

Rep: Reputation: 0
trying to do first backup with FSArchiever in SystemRescueCD


I am trying to make a backup of my new Linux system.
I created a SystemRescueCD and booted to it in order to run FSarchiver.
How do I run FSarchiver to backup the Linux system on /dev/sda7 to a newly formatted LinuxBU partition at /dev/sdb3 ? Do I need to mount /dev/sdb3 some how, but not mount /dev/sda7 ?
 
Old 05-14-2017, 09:25 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,253

Rep: Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160
Good that you are doing backups - better if you had read the manpage so you understand the tool. There is also a quickstart on their web site.
fsarchiver produces a single file - so the target has to be mounted. The source is a device node - that implies unmounted.
 
Old 05-14-2017, 10:43 PM   #3
twizzard
LQ Newbie
 
Registered: Jun 2002
Distribution: Ubuntu 16.04
Posts: 7

Original Poster
Rep: Reputation: 0
still need help

I read the manpage and the quick start guide. Neither was much help. It seemed like the destination needed to be mounted, and the source file system unmounted (the documentation was not particularly clear). I mounted the backup disk with
mount /dev/sdb3 /mnt/backup
and then, from SystemRescureCD /usr/sbin ran
fsarchiver-64bit -v saved /mnt/backup/Linux249.fsa /dev/sda7
and got an error that /dev/sda7 was not a block device. Could this be due to my installing Linux in a logical partition within an extended partition?

Now what?

Last edited by twizzard; 05-14-2017 at 10:46 PM.
 
Old 05-15-2017, 01:48 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,908
Blog Entries: 19

Rep: Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572Reputation: 4572
When you are told that something "is not a device", your first step should be to look for it in the /dev directory. Also check that it has a type of "b" for "block". For example, here is my /dev/sda7:

brw-rw---- 1 root disk 8, 7 May 15 06:45 /dev/sda7

If it isn't there, run dmesg|grep sda and see what the kernel did with that drive?
 
Old 05-15-2017, 05:02 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,253

Rep: Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160Reputation: 4160
That's not a valid command - you should have gotten a screen full of messages.
If systemrescue has a standard build (other than the name) you want savefs - try this
Code:
fsarchiver-64bit -v savefs /mnt/backup/Linux249.fsa /dev/sda7
And no, the fact that it is a logical partition makes no difference at all.
 
  


Reply


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
SystemRescueCd Fixit7 Puppy 17 06-08-2015 01:14 PM
ssh and backup usage with SystemRescueCD Linux chiendarret Linux - Software 1 05-29-2014 06:22 AM
SystemRescueCD, what are they doing? Mr. Alex Linux - Distributions 1 12-15-2013 12:57 PM
LXer: SystemRescueCd 1.5.6 LXer Syndicated Linux News 0 07-13-2010 04:30 AM
SystemRescueCd Question Whiteghost Linux - Software 1 08-26-2005 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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