[SOLVED] System backup

If none of the more specific forums is the right place to ask

[SOLVED] System backup

Postby ticojohn » 2018-04-06 18:29

I have never performed a full system backup but have always backed up my /home directory using Grsync. I am now thinking about upgrading fro Jessie to Stretch and want to do a full backup first in case there are problems. This is the command I am trying to run but on execution NOTHING happens. Now error messages, nothing. Can somebody take a look at the command and tell me where I am going wrong?

Code: Select all
# rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/home/*/.thumbnails/*","/home/*/.cache/mozilla/*","/home/*/.cache/chromium/*","/home/*/.local/share/Trash/*","/lost+found"} / /media/john/5718-482B/Jessie_BU


The target is an external USB HDD formatted as vfat. Do I need to reformat the drive as ext4? It always worked with Grsync, but perhaps rsync will not write to vfat.

UPDATE: Doing some research and I think the problem is that the USB HDD is formatted as VFAT. I will reformat it to ext4 and see how thing go.
Last edited by ticojohn on 2018-04-07 14:37, edited 1 time in total.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 793
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: System backup

Postby ticojohn » 2018-04-06 19:24

I found the problem. DUMB! At the root prompt root@user:/home/user# I then put in the command as # rsync . DOUBLE # caused the system to think it was a comment and so did not execute anything. HOW DUMB ! Anyway, got the backup.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 793
Joined: 2009-08-29 18:10
Location: Costa Rica

Re: System backup

Postby dilberts_left_nut » 2018-04-06 20:04

VFAT is a poor target for a system backup - you will get the files, but no links, permissions or ownership metadata, so it will be effectively useless.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: System backup

Postby ticojohn » 2018-04-06 20:13

dilberts_left_nut wrote:VFAT is a poor target for a system backup - you will get the files, but no links, permissions or ownership metadata, so it will be effectively useless.

Thanks for that response. I kind of figured that out and reformatted the USB as ext4. But the real problem I had was that I had an extra "#" in the rsync command so it was just ignored. Glad I changed the format to ext4 before actually getting it to work.
I'm not irrational, I'm just quantum probabilistic.
User avatar
ticojohn
 
Posts: 793
Joined: 2009-08-29 18:10
Location: Costa Rica


Return to General Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable