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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-14-2017, 07:49 PM
|
#1
|
LQ Newbie
Registered: Jun 2002
Distribution: Ubuntu 16.04
Posts: 7
Rep:
|
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 ?
|
|
|
05-14-2017, 09:25 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,253
|
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.
|
|
|
05-14-2017, 10:43 PM
|
#3
|
LQ Newbie
Registered: Jun 2002
Distribution: Ubuntu 16.04
Posts: 7
Original Poster
Rep:
|
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.
|
|
|
05-15-2017, 01:48 AM
|
#4
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,908
|
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?
|
|
|
05-15-2017, 05:02 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,253
|
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.
|
|
|
All times are GMT -5. The time now is 10:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|