Is it possible to exclude folders in Clonezilla?












5















I want to backup my Xubuntu using Clonezilla, but I want to exclude some folders, like pictures. Is it possible to exclude some folders from being backed up on Clonezilla?



I have 18gb of music, 20 gb of movies and 12gb of ebooks that are already backed up elsewhere, is it possible to exclude them from being backed up in clonezilla?










share|improve this question















migrated from superuser.com Feb 11 '14 at 15:33


This question came from our site for computer enthusiasts and power users.























    5















    I want to backup my Xubuntu using Clonezilla, but I want to exclude some folders, like pictures. Is it possible to exclude some folders from being backed up on Clonezilla?



    I have 18gb of music, 20 gb of movies and 12gb of ebooks that are already backed up elsewhere, is it possible to exclude them from being backed up in clonezilla?










    share|improve this question















    migrated from superuser.com Feb 11 '14 at 15:33


    This question came from our site for computer enthusiasts and power users.





















      5












      5








      5


      1






      I want to backup my Xubuntu using Clonezilla, but I want to exclude some folders, like pictures. Is it possible to exclude some folders from being backed up on Clonezilla?



      I have 18gb of music, 20 gb of movies and 12gb of ebooks that are already backed up elsewhere, is it possible to exclude them from being backed up in clonezilla?










      share|improve this question
















      I want to backup my Xubuntu using Clonezilla, but I want to exclude some folders, like pictures. Is it possible to exclude some folders from being backed up on Clonezilla?



      I have 18gb of music, 20 gb of movies and 12gb of ebooks that are already backed up elsewhere, is it possible to exclude them from being backed up in clonezilla?







      clonezilla






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 21 '14 at 20:42







      Lynob

















      asked Feb 8 '14 at 12:05









      LynobLynob

      2,740125294




      2,740125294




      migrated from superuser.com Feb 11 '14 at 15:33


      This question came from our site for computer enthusiasts and power users.









      migrated from superuser.com Feb 11 '14 at 15:33


      This question came from our site for computer enthusiasts and power users.
























          3 Answers
          3






          active

          oldest

          votes


















          6














          No, that would defeat the idea of "cloning". Cloning is intended to have you end up with an exact copy.




          CLONING » The process of duplicating either an individual partition or the contents of an entire hard drive onto a new hard drive. After cloning, the destination drive/partition will look identical to the source.







          share|improve this answer



















          • 2





            Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

            – Lynob
            Feb 11 '14 at 15:42













          • but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

            – Lynob
            Feb 11 '14 at 15:46











          • Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

            – Rinzwind
            Feb 11 '14 at 15:46













          • yes i use rsync all the time to backup my vps, maybe i'll go for it

            – Lynob
            Feb 11 '14 at 15:48






          • 2





            I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

            – Rinzwind
            Feb 11 '14 at 15:54



















          1














          It must be possible, because they have an option to do exactly that for Windows hibernation and page files. Unfortunately they don't seem to have it plumbed through to the UI, so you can't specify arbitrary files that it should ignore. Might be worth a feature request. I can see it being useful for backing up the OS without having to include all the data.



          You might also see if mondorescue works on your system. It is similar to clonezilla in capabilities, but is file-based and allows programming excludes. It's a bit pickier about the system configuration though.






          share|improve this answer































            0














            If you really want to do this, I think it boils down to keeping your personal files separate from your system image backup, by backing them up in different ways.



            Clonezilla creates more of a "system image" and it should be kept separate from your personal files and how you back them up. The reason for this is if you find yourself one day needing to restore the personal files to a separate computer, you can do so without worrying about the program and os files that you would need to operate your machine (instead you would just reinstall these on the other machine) and then you would have your personal files restored there.



            Now what method do we use for keeping the OS and program files in the system image backup and the personal files in some other backup system (such as bareos or bacula)? Mounts, partitions, and LVM are all options for keeping these separate...for instance...



            If your /home/ directory is where you keep your personal files, and is mounted on either a separate partition or LVM Logical Volume at boot time, when you make your system image, you can be sure that it isn't included in the system partition that contains /; that way when you run Clonezilla from a live USB to create a system image, you can choose to only back up the partitions that include the OS and program files, and not the partition or LVM Logical volume that contains your personal files, thus making the Clonezilla system image much smaller. And since you backed up the personal files separately, you can restore them the same way when migrating or doing disaster recovery on the same system.






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f419483%2fis-it-possible-to-exclude-folders-in-clonezilla%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6














              No, that would defeat the idea of "cloning". Cloning is intended to have you end up with an exact copy.




              CLONING » The process of duplicating either an individual partition or the contents of an entire hard drive onto a new hard drive. After cloning, the destination drive/partition will look identical to the source.







              share|improve this answer



















              • 2





                Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

                – Lynob
                Feb 11 '14 at 15:42













              • but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

                – Lynob
                Feb 11 '14 at 15:46











              • Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

                – Rinzwind
                Feb 11 '14 at 15:46













              • yes i use rsync all the time to backup my vps, maybe i'll go for it

                – Lynob
                Feb 11 '14 at 15:48






              • 2





                I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

                – Rinzwind
                Feb 11 '14 at 15:54
















              6














              No, that would defeat the idea of "cloning". Cloning is intended to have you end up with an exact copy.




              CLONING » The process of duplicating either an individual partition or the contents of an entire hard drive onto a new hard drive. After cloning, the destination drive/partition will look identical to the source.







              share|improve this answer



















              • 2





                Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

                – Lynob
                Feb 11 '14 at 15:42













              • but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

                – Lynob
                Feb 11 '14 at 15:46











              • Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

                – Rinzwind
                Feb 11 '14 at 15:46













              • yes i use rsync all the time to backup my vps, maybe i'll go for it

                – Lynob
                Feb 11 '14 at 15:48






              • 2





                I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

                – Rinzwind
                Feb 11 '14 at 15:54














              6












              6








              6







              No, that would defeat the idea of "cloning". Cloning is intended to have you end up with an exact copy.




              CLONING » The process of duplicating either an individual partition or the contents of an entire hard drive onto a new hard drive. After cloning, the destination drive/partition will look identical to the source.







              share|improve this answer













              No, that would defeat the idea of "cloning". Cloning is intended to have you end up with an exact copy.




              CLONING » The process of duplicating either an individual partition or the contents of an entire hard drive onto a new hard drive. After cloning, the destination drive/partition will look identical to the source.








              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Feb 11 '14 at 15:41









              RinzwindRinzwind

              208k28399529




              208k28399529








              • 2





                Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

                – Lynob
                Feb 11 '14 at 15:42













              • but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

                – Lynob
                Feb 11 '14 at 15:46











              • Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

                – Rinzwind
                Feb 11 '14 at 15:46













              • yes i use rsync all the time to backup my vps, maybe i'll go for it

                – Lynob
                Feb 11 '14 at 15:48






              • 2





                I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

                – Rinzwind
                Feb 11 '14 at 15:54














              • 2





                Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

                – Lynob
                Feb 11 '14 at 15:42













              • but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

                – Lynob
                Feb 11 '14 at 15:46











              • Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

                – Rinzwind
                Feb 11 '14 at 15:46













              • yes i use rsync all the time to backup my vps, maybe i'll go for it

                – Lynob
                Feb 11 '14 at 15:48






              • 2





                I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

                – Rinzwind
                Feb 11 '14 at 15:54








              2




              2





              Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

              – Lynob
              Feb 11 '14 at 15:42







              Damn! I should start deleting them before creating a backup, I didn't want to hear that answer. damn!

              – Lynob
              Feb 11 '14 at 15:42















              but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

              – Lynob
              Feb 11 '14 at 15:46





              but they are already backed up on a hard disk, why making the cloned image bigger by cloning stuff that are already backed up

              – Lynob
              Feb 11 '14 at 15:46













              Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

              – Rinzwind
              Feb 11 '14 at 15:46







              Maybe rsync is a better option? If setup correctly it would only copy changes over to a backup; (edit: ha, I deleted my comment cuz I thought of that after posting ;) )

              – Rinzwind
              Feb 11 '14 at 15:46















              yes i use rsync all the time to backup my vps, maybe i'll go for it

              – Lynob
              Feb 11 '14 at 15:48





              yes i use rsync all the time to backup my vps, maybe i'll go for it

              – Lynob
              Feb 11 '14 at 15:48




              2




              2





              I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

              – Rinzwind
              Feb 11 '14 at 15:54





              I might have a solution @Fischer blog.christosoft.de/2012/05/… this if for restoring a single file but I would not be to surprised if you could remove files from the image that way

              – Rinzwind
              Feb 11 '14 at 15:54













              1














              It must be possible, because they have an option to do exactly that for Windows hibernation and page files. Unfortunately they don't seem to have it plumbed through to the UI, so you can't specify arbitrary files that it should ignore. Might be worth a feature request. I can see it being useful for backing up the OS without having to include all the data.



              You might also see if mondorescue works on your system. It is similar to clonezilla in capabilities, but is file-based and allows programming excludes. It's a bit pickier about the system configuration though.






              share|improve this answer




























                1














                It must be possible, because they have an option to do exactly that for Windows hibernation and page files. Unfortunately they don't seem to have it plumbed through to the UI, so you can't specify arbitrary files that it should ignore. Might be worth a feature request. I can see it being useful for backing up the OS without having to include all the data.



                You might also see if mondorescue works on your system. It is similar to clonezilla in capabilities, but is file-based and allows programming excludes. It's a bit pickier about the system configuration though.






                share|improve this answer


























                  1












                  1








                  1







                  It must be possible, because they have an option to do exactly that for Windows hibernation and page files. Unfortunately they don't seem to have it plumbed through to the UI, so you can't specify arbitrary files that it should ignore. Might be worth a feature request. I can see it being useful for backing up the OS without having to include all the data.



                  You might also see if mondorescue works on your system. It is similar to clonezilla in capabilities, but is file-based and allows programming excludes. It's a bit pickier about the system configuration though.






                  share|improve this answer













                  It must be possible, because they have an option to do exactly that for Windows hibernation and page files. Unfortunately they don't seem to have it plumbed through to the UI, so you can't specify arbitrary files that it should ignore. Might be worth a feature request. I can see it being useful for backing up the OS without having to include all the data.



                  You might also see if mondorescue works on your system. It is similar to clonezilla in capabilities, but is file-based and allows programming excludes. It's a bit pickier about the system configuration though.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 21 '14 at 18:21









                  PerkinsPerkins

                  52656




                  52656























                      0














                      If you really want to do this, I think it boils down to keeping your personal files separate from your system image backup, by backing them up in different ways.



                      Clonezilla creates more of a "system image" and it should be kept separate from your personal files and how you back them up. The reason for this is if you find yourself one day needing to restore the personal files to a separate computer, you can do so without worrying about the program and os files that you would need to operate your machine (instead you would just reinstall these on the other machine) and then you would have your personal files restored there.



                      Now what method do we use for keeping the OS and program files in the system image backup and the personal files in some other backup system (such as bareos or bacula)? Mounts, partitions, and LVM are all options for keeping these separate...for instance...



                      If your /home/ directory is where you keep your personal files, and is mounted on either a separate partition or LVM Logical Volume at boot time, when you make your system image, you can be sure that it isn't included in the system partition that contains /; that way when you run Clonezilla from a live USB to create a system image, you can choose to only back up the partitions that include the OS and program files, and not the partition or LVM Logical volume that contains your personal files, thus making the Clonezilla system image much smaller. And since you backed up the personal files separately, you can restore them the same way when migrating or doing disaster recovery on the same system.






                      share|improve this answer




























                        0














                        If you really want to do this, I think it boils down to keeping your personal files separate from your system image backup, by backing them up in different ways.



                        Clonezilla creates more of a "system image" and it should be kept separate from your personal files and how you back them up. The reason for this is if you find yourself one day needing to restore the personal files to a separate computer, you can do so without worrying about the program and os files that you would need to operate your machine (instead you would just reinstall these on the other machine) and then you would have your personal files restored there.



                        Now what method do we use for keeping the OS and program files in the system image backup and the personal files in some other backup system (such as bareos or bacula)? Mounts, partitions, and LVM are all options for keeping these separate...for instance...



                        If your /home/ directory is where you keep your personal files, and is mounted on either a separate partition or LVM Logical Volume at boot time, when you make your system image, you can be sure that it isn't included in the system partition that contains /; that way when you run Clonezilla from a live USB to create a system image, you can choose to only back up the partitions that include the OS and program files, and not the partition or LVM Logical volume that contains your personal files, thus making the Clonezilla system image much smaller. And since you backed up the personal files separately, you can restore them the same way when migrating or doing disaster recovery on the same system.






                        share|improve this answer


























                          0












                          0








                          0







                          If you really want to do this, I think it boils down to keeping your personal files separate from your system image backup, by backing them up in different ways.



                          Clonezilla creates more of a "system image" and it should be kept separate from your personal files and how you back them up. The reason for this is if you find yourself one day needing to restore the personal files to a separate computer, you can do so without worrying about the program and os files that you would need to operate your machine (instead you would just reinstall these on the other machine) and then you would have your personal files restored there.



                          Now what method do we use for keeping the OS and program files in the system image backup and the personal files in some other backup system (such as bareos or bacula)? Mounts, partitions, and LVM are all options for keeping these separate...for instance...



                          If your /home/ directory is where you keep your personal files, and is mounted on either a separate partition or LVM Logical Volume at boot time, when you make your system image, you can be sure that it isn't included in the system partition that contains /; that way when you run Clonezilla from a live USB to create a system image, you can choose to only back up the partitions that include the OS and program files, and not the partition or LVM Logical volume that contains your personal files, thus making the Clonezilla system image much smaller. And since you backed up the personal files separately, you can restore them the same way when migrating or doing disaster recovery on the same system.






                          share|improve this answer













                          If you really want to do this, I think it boils down to keeping your personal files separate from your system image backup, by backing them up in different ways.



                          Clonezilla creates more of a "system image" and it should be kept separate from your personal files and how you back them up. The reason for this is if you find yourself one day needing to restore the personal files to a separate computer, you can do so without worrying about the program and os files that you would need to operate your machine (instead you would just reinstall these on the other machine) and then you would have your personal files restored there.



                          Now what method do we use for keeping the OS and program files in the system image backup and the personal files in some other backup system (such as bareos or bacula)? Mounts, partitions, and LVM are all options for keeping these separate...for instance...



                          If your /home/ directory is where you keep your personal files, and is mounted on either a separate partition or LVM Logical Volume at boot time, when you make your system image, you can be sure that it isn't included in the system partition that contains /; that way when you run Clonezilla from a live USB to create a system image, you can choose to only back up the partitions that include the OS and program files, and not the partition or LVM Logical volume that contains your personal files, thus making the Clonezilla system image much smaller. And since you backed up the personal files separately, you can restore them the same way when migrating or doing disaster recovery on the same system.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jan 19 '17 at 17:10









                          leeand00leeand00

                          406726




                          406726






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f419483%2fis-it-possible-to-exclude-folders-in-clonezilla%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How did Captain America manage to do this?

                              迪纳利

                              南乌拉尔铁路局