how do i backup my linuxmint file system and exclude the /media folder?

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question



















  • 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

















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?







share|improve this question



















  • 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













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?







share|improve this question











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?









share|improve this question










share|improve this question




share|improve this question









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

















  • 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











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/





share|improve this answer





















  • 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











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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/





share|improve this answer





















  • 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















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/





share|improve this answer





















  • 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













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/





share|improve this answer













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/






share|improve this answer













share|improve this answer



share|improve this answer











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

















  • 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













 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?