how do i backup my linuxmint file system and exclude the /media folder?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
trying to backup the file system files, but want to exclude /media folder.
dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
drwxrwxrwx
and nothing. what am i doing wrong?
files backup
add a comment |Â
up vote
0
down vote
favorite
trying to backup the file system files, but want to exclude /media folder.
dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
drwxrwxrwx
and nothing. what am i doing wrong?
files backup
I suggest you review the rsync man page for options. I have had great success using the-gloptruncv
option to do a dry run and then after trouble shooting any issues run-gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.
â kemotep
Jul 27 at 18:09
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
trying to backup the file system files, but want to exclude /media folder.
dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
drwxrwxrwx
and nothing. what am i doing wrong?
files backup
trying to backup the file system files, but want to exclude /media folder.
dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
drwxrwxrwx
and nothing. what am i doing wrong?
files backup
asked Jul 27 at 18:04
Dave
1
1
I suggest you review the rsync man page for options. I have had great success using the-gloptruncv
option to do a dry run and then after trouble shooting any issues run-gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.
â kemotep
Jul 27 at 18:09
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11
add a comment |Â
I suggest you review the rsync man page for options. I have had great success using the-gloptruncv
option to do a dry run and then after trouble shooting any issues run-gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.
â kemotep
Jul 27 at 18:09
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11
I suggest you review the rsync man page for options. I have had great success using the
-gloptruncv
option to do a dry run and then after trouble shooting any issues run -gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.â kemotep
Jul 27 at 18:09
I suggest you review the rsync man page for options. I have had great success using the
-gloptruncv
option to do a dry run and then after trouble shooting any issues run -gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.â kemotep
Jul 27 at 18:09
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
If media is mounted you can use the "-x" or " --one-file-system " of rsync
otherwise try
rsync -a --exclude=media /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
If media is mounted you can use the "-x" or " --one-file-system " of rsync
otherwise try
rsync -a --exclude=media /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
add a comment |Â
up vote
0
down vote
If media is mounted you can use the "-x" or " --one-file-system " of rsync
otherwise try
rsync -a --exclude=media /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
add a comment |Â
up vote
0
down vote
up vote
0
down vote
If media is mounted you can use the "-x" or " --one-file-system " of rsync
otherwise try
rsync -a --exclude=media /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
If media is mounted you can use the "-x" or " --one-file-system " of rsync
otherwise try
rsync -a --exclude=media /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/
answered Jul 27 at 18:14
elbarna
3,73893377
3,73893377
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
add a comment |Â
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
ok, thanks, but do i have to run the terminal from the root folder to run this command properly? well, i ran the command with -a (copied it from here)...and rsync -x and still did not work. i have root privileges. just get drwxrwxrwx.
â Dave
Jul 27 at 18:47
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f458923%2fhow-do-i-backup-my-linuxmint-file-system-and-exclude-the-media-folder%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I suggest you review the rsync man page for options. I have had great success using the
-gloptruncv
option to do a dry run and then after trouble shooting any issues run-gloptrucv
. Remember you are going to need root(sudo) privileges to backup a complete file system.â kemotep
Jul 27 at 18:09
@Dave, can you tell, a little bit clearly?
â Ujjwal Singh
Jul 27 at 18:11