How to back up my entire system?
If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this?
Is it as simple as backing up everything in /
and then when if I suffer a crash, just copying the files back over?
Will this cover grub, and how do I actually do this when the system is inoperable?
backup
add a comment |
If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this?
Is it as simple as backing up everything in /
and then when if I suffer a crash, just copying the files back over?
Will this cover grub, and how do I actually do this when the system is inoperable?
backup
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
9
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10
add a comment |
If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this?
Is it as simple as backing up everything in /
and then when if I suffer a crash, just copying the files back over?
Will this cover grub, and how do I actually do this when the system is inoperable?
backup
If I want to make a backup of my entire OS (including but not just my home directory), how do I go about this?
Is it as simple as backing up everything in /
and then when if I suffer a crash, just copying the files back over?
Will this cover grub, and how do I actually do this when the system is inoperable?
backup
backup
edited Nov 28 '14 at 4:34
Seth♦
34.8k27112165
34.8k27112165
asked Oct 16 '10 at 21:58
WillWill
1,23332127
1,23332127
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
9
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10
add a comment |
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
9
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
9
9
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10
add a comment |
15 Answers
15
active
oldest
votes
FILES
Refer to this howto: http://ubuntuforums.org/showthread.php?t=35087
In simple terms, the backup command is: sudo tar czf /backup.tar.gz --exclude=/backup.tar.gz--exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
. Add more --exclude=
parameters if you need to.
It will create an archive of all your files at /backup.tar.gz
, which you can then copy over to another computer/drive and restore your files if the install goes pear-shaped. You can do it from a LiveCD, by mounting the "bad" system under /media
or /mnt
and running tar xf /path/to/drive/with/backup.tar.gz -C /mnt
(substitute for the actual path to the "bad" system).
GRUB
This will not cover GRUB, however you can easily reinstall it by following this guide here. You only need to do steps Three and Four.
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
|
show 4 more comments
Noone noticed clonezilla. It makes a complete image of your hard drive, so it backups absolutely everything. It's as easy as burning an iso or creating a bootable flash drive.
The actual backup takes a while, but is the most reliable.
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
add a comment |
To clone your system to another system. Or make a backup. In terminal type:
dpkg --get-selections | grep -v deinstall > ubuntu-files
This command makes a file list of all installed packages in your system (and stores it in present working directory). Backup this file in hdd, email, etc...(this file is very small).
In the freshly installed ubuntu system run:
sudo dpkg --set-selections <./ubuntu-files (will set it up and)
apt-get -y update
apt-get dselect-upgrade
This will install only those packages you had installed (with apt-get
) in the old system.
(OR)
You could back up all the .deb
packages from /var/cache/apt/archives/
and install them manually using:
dpkg -i *.deb
And after that running an update cycle later.
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
add a comment |
You can use Remastersys to create a bootable live CD/DVD image. This will install like a normal Ubuntu CD.
To install Remastersys, you first need to add a repository:
deb http://www.geekconnection.org/remastersys/repository karmic/
You can then install it from the Software Centre as usual.
Once installed, use it to make a 'dist' backup. This means that user data will be excluded from the ISO image.
This is often used to create custom distributions but is still useful for the backup task you have in mind. One caveat is that it may fail if the contents of /
(minus user data in /home
) takes up too much memory because the ISO file format can only hold ~4GB data. Remastersys uses a file system called squashfs to compress your data so you should be OK with up to ~8GB.
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
add a comment |
Try Remastersys.
With that program you can do liveCD (just the same as Ubuntu installation iso file) of your system with ability to install it on hard drive. Works pretty simple (if you know how to burn iso to USB/CD/DVD).
Works perfectly on my 11.10 and 11.04, and older ones as well.
Installation:
edit file /etc/apt/sources.list
add: # Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
and save
Then run in terminal:sudo apt-get update
sudo apt-get install remastersys
add a comment |
Here is a solution I use with SquashFS. It is quite similar to TAR.GZ solution proposed earlier, but has some major benefits.
SquashFS is a compressed file system, which is completely stored in one file. This file can be mounted to an existing system and accessed in a usual way, like any other partition. The difference to TAR.GZ is that SquashFS is a full-blown file system with random access to files, while TAR is just one big concatenated file.
This means that if you want to mount some large backup of your whole file system, for TAR.GZ it would take like 5 hours (in my experience) and for SquashFS it would take just minutes/seconds. The same is true also for the compression/backup operation, SquashFS is many times faster.
UPDATE 2017-01-31:
It appears that not only can you mount squashfs file, but also open it as a usual archive with familiar apps like File Roller on Linux and 7-Zip on Windows, etc.
So here is a command I use to back up my root folder:
sudo mksquashfs / /path/to/backup/hdd/root-backup.sqsh -e home media dev run mnt proc sys tmp
where "-e" switch excludes folders you want to exclude (like virtual and external Linux folders in my example).
After the backup is done, I can now mount it:
sudo mkdir /mnt/root_backup
sudo mount /path/to/backup/hdd/root-backup.sqsh /mnt/root_backup -t squashfs -o loop
Now just wait couple minutes (depending on size of the archive) and enjoy all your files at /mnt/root_backup folder.
Same can be done for /home/myname folder, e.g.
sudo mksquashfs /home/myname /path/to/backup/hdd/home-backup.sqsh -e Dropbox GoogleDrive
I exclude Dropbox and GoogleDrive here to avoid any potential problems in the future, in case I restore those folders from backup and they become messing with the actual files in the cloud.
Check more info at http://tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
add a comment |
We can also do backup of system with rsync & exclude files & folders that we don't want. Here is the following command to do this :
#rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
Using the -aAX
set of options, the files are transferred in archive mode, ensuring that symbolic links, devices, permissions and ownerships, modification times, ACLs and extended attributes are preserved
The --exclude
option will cause files that match the given patterns to be excluded.
REFERENCE : Full system backup with rsync
add a comment |
Here is a good tutorial using PartImage.
add a comment |
go to ubuntu software center
find Déjà Dup backup manger
install it``
run it and give path where to backup your data
select files to be backup
make a back up
later on you can chose backup by giving location of your external hard drive
gud luck
source
[https://launchpad.net/deja-dup]
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
add a comment |
TimeShift.
TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was taken.
Open the terminal and run the following command
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
Screenshots
add a comment |
Crashplan will back up all your system files and data and allow you to recover it - either on your current PC or allow you to adopt it to another install.
You can back up to their online system, another computer or any attached hard drive.
add a comment |
If you hard-disk where Ubuntu is installed isn't too big, you can try booting from a live cd (any linux distro will do) and running:
dd if=/dev/sda of=/path/to/external/hardisk/mybackupfile
This makes a backup of your whole hard-disk, not just Ubuntu, and it'll also do all the empty bytes, but it's the only solution I can think of.
To restore the backup, use:
dd if=/path/to/external/harddisk/mybackupfile of=/dev/sda
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
add a comment |
I have found you a detailed and recent how to on using Clonezilla. Clonezilla will let you make an image of your complete system including all hard drive partitions etc and later restore it.
The tutorial is at http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/
add a comment |
You can use tools like Bacula Community or Bacula Enterprise.
The difference between them is that community version doesn't support bare metal restores when you don't need to re-install the system and just purely recover it after the major crash.
add a comment |
I use a program called Back In Time that's similar to Apple's Time Machine.
It's easy to tell it where you want your backups to go and how often to do the backup.
Back In Time is in the Ubuntu repos.
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
|
show 2 more comments
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
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f7809%2fhow-to-back-up-my-entire-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
15 Answers
15
active
oldest
votes
15 Answers
15
active
oldest
votes
active
oldest
votes
active
oldest
votes
FILES
Refer to this howto: http://ubuntuforums.org/showthread.php?t=35087
In simple terms, the backup command is: sudo tar czf /backup.tar.gz --exclude=/backup.tar.gz--exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
. Add more --exclude=
parameters if you need to.
It will create an archive of all your files at /backup.tar.gz
, which you can then copy over to another computer/drive and restore your files if the install goes pear-shaped. You can do it from a LiveCD, by mounting the "bad" system under /media
or /mnt
and running tar xf /path/to/drive/with/backup.tar.gz -C /mnt
(substitute for the actual path to the "bad" system).
GRUB
This will not cover GRUB, however you can easily reinstall it by following this guide here. You only need to do steps Three and Four.
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
|
show 4 more comments
FILES
Refer to this howto: http://ubuntuforums.org/showthread.php?t=35087
In simple terms, the backup command is: sudo tar czf /backup.tar.gz --exclude=/backup.tar.gz--exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
. Add more --exclude=
parameters if you need to.
It will create an archive of all your files at /backup.tar.gz
, which you can then copy over to another computer/drive and restore your files if the install goes pear-shaped. You can do it from a LiveCD, by mounting the "bad" system under /media
or /mnt
and running tar xf /path/to/drive/with/backup.tar.gz -C /mnt
(substitute for the actual path to the "bad" system).
GRUB
This will not cover GRUB, however you can easily reinstall it by following this guide here. You only need to do steps Three and Four.
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
|
show 4 more comments
FILES
Refer to this howto: http://ubuntuforums.org/showthread.php?t=35087
In simple terms, the backup command is: sudo tar czf /backup.tar.gz --exclude=/backup.tar.gz--exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
. Add more --exclude=
parameters if you need to.
It will create an archive of all your files at /backup.tar.gz
, which you can then copy over to another computer/drive and restore your files if the install goes pear-shaped. You can do it from a LiveCD, by mounting the "bad" system under /media
or /mnt
and running tar xf /path/to/drive/with/backup.tar.gz -C /mnt
(substitute for the actual path to the "bad" system).
GRUB
This will not cover GRUB, however you can easily reinstall it by following this guide here. You only need to do steps Three and Four.
FILES
Refer to this howto: http://ubuntuforums.org/showthread.php?t=35087
In simple terms, the backup command is: sudo tar czf /backup.tar.gz --exclude=/backup.tar.gz--exclude=/dev --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/tmp --exclude=/lost+found /
. Add more --exclude=
parameters if you need to.
It will create an archive of all your files at /backup.tar.gz
, which you can then copy over to another computer/drive and restore your files if the install goes pear-shaped. You can do it from a LiveCD, by mounting the "bad" system under /media
or /mnt
and running tar xf /path/to/drive/with/backup.tar.gz -C /mnt
(substitute for the actual path to the "bad" system).
GRUB
This will not cover GRUB, however you can easily reinstall it by following this guide here. You only need to do steps Three and Four.
edited Jul 3 '18 at 6:23
Milaine
32
32
answered Oct 16 '10 at 22:13
evgenyevgeny
6,93222025
6,93222025
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
|
show 4 more comments
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
Great post! Thanks a lot that pretty much answers all my questions
– Will
Oct 16 '10 at 22:32
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
I am experimenting your command with external NTFS here askubuntu.com/q/788272/25388 but with failures.
– Léo Léopold Hertz 준영
Jun 17 '16 at 17:42
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
Tried this one, but it seems too much waiting to mount the resulting archive (like 5 hours). Similar approach is with SquashFS, but much, much faster, see askubuntu.com/a/857845/98715
– Alexey Frishman
Dec 7 '16 at 0:02
2
2
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
How big is the tar file usually? For example I have 90GB of data in "/". But the backing up process (making the backup.tar.gz) stopped because of lack of space.. Is there a way to create the backup.tar.gz file in an external drive?
– Arkya Chatterjee
May 1 '17 at 13:17
1
1
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
The OP explicitely says "including (...) my home directory" but you are excluding the home directories of all users (--exclude=/home). Am I missing something here?
– Mephisto
Feb 15 '18 at 8:25
|
show 4 more comments
Noone noticed clonezilla. It makes a complete image of your hard drive, so it backups absolutely everything. It's as easy as burning an iso or creating a bootable flash drive.
The actual backup takes a while, but is the most reliable.
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
add a comment |
Noone noticed clonezilla. It makes a complete image of your hard drive, so it backups absolutely everything. It's as easy as burning an iso or creating a bootable flash drive.
The actual backup takes a while, but is the most reliable.
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
add a comment |
Noone noticed clonezilla. It makes a complete image of your hard drive, so it backups absolutely everything. It's as easy as burning an iso or creating a bootable flash drive.
The actual backup takes a while, but is the most reliable.
Noone noticed clonezilla. It makes a complete image of your hard drive, so it backups absolutely everything. It's as easy as burning an iso or creating a bootable flash drive.
The actual backup takes a while, but is the most reliable.
answered May 17 '13 at 16:35
mreqmreq
2,64772955
2,64772955
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
add a comment |
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
How can you it be better than evgeny's proposal? Is there some management etc tools?
– Léo Léopold Hertz 준영
Jun 17 '16 at 16:14
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
Can not recommend clonezilla. I just tried it and got this error: sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/… and seems like nothing is being done about it
– Hakaishin
Dec 13 '18 at 9:53
add a comment |
To clone your system to another system. Or make a backup. In terminal type:
dpkg --get-selections | grep -v deinstall > ubuntu-files
This command makes a file list of all installed packages in your system (and stores it in present working directory). Backup this file in hdd, email, etc...(this file is very small).
In the freshly installed ubuntu system run:
sudo dpkg --set-selections <./ubuntu-files (will set it up and)
apt-get -y update
apt-get dselect-upgrade
This will install only those packages you had installed (with apt-get
) in the old system.
(OR)
You could back up all the .deb
packages from /var/cache/apt/archives/
and install them manually using:
dpkg -i *.deb
And after that running an update cycle later.
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
add a comment |
To clone your system to another system. Or make a backup. In terminal type:
dpkg --get-selections | grep -v deinstall > ubuntu-files
This command makes a file list of all installed packages in your system (and stores it in present working directory). Backup this file in hdd, email, etc...(this file is very small).
In the freshly installed ubuntu system run:
sudo dpkg --set-selections <./ubuntu-files (will set it up and)
apt-get -y update
apt-get dselect-upgrade
This will install only those packages you had installed (with apt-get
) in the old system.
(OR)
You could back up all the .deb
packages from /var/cache/apt/archives/
and install them manually using:
dpkg -i *.deb
And after that running an update cycle later.
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
add a comment |
To clone your system to another system. Or make a backup. In terminal type:
dpkg --get-selections | grep -v deinstall > ubuntu-files
This command makes a file list of all installed packages in your system (and stores it in present working directory). Backup this file in hdd, email, etc...(this file is very small).
In the freshly installed ubuntu system run:
sudo dpkg --set-selections <./ubuntu-files (will set it up and)
apt-get -y update
apt-get dselect-upgrade
This will install only those packages you had installed (with apt-get
) in the old system.
(OR)
You could back up all the .deb
packages from /var/cache/apt/archives/
and install them manually using:
dpkg -i *.deb
And after that running an update cycle later.
To clone your system to another system. Or make a backup. In terminal type:
dpkg --get-selections | grep -v deinstall > ubuntu-files
This command makes a file list of all installed packages in your system (and stores it in present working directory). Backup this file in hdd, email, etc...(this file is very small).
In the freshly installed ubuntu system run:
sudo dpkg --set-selections <./ubuntu-files (will set it up and)
apt-get -y update
apt-get dselect-upgrade
This will install only those packages you had installed (with apt-get
) in the old system.
(OR)
You could back up all the .deb
packages from /var/cache/apt/archives/
and install them manually using:
dpkg -i *.deb
And after that running an update cycle later.
edited Mar 13 '18 at 11:15
galoget
2,1022920
2,1022920
answered Nov 20 '11 at 19:47
NewbiNewbi
1,02921319
1,02921319
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
add a comment |
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
This indeed an interesting strategy. how to go about the second way under (OR) you proposed. Back them up by copying them?
– Mohammed Joraid
Jul 10 '17 at 21:48
add a comment |
You can use Remastersys to create a bootable live CD/DVD image. This will install like a normal Ubuntu CD.
To install Remastersys, you first need to add a repository:
deb http://www.geekconnection.org/remastersys/repository karmic/
You can then install it from the Software Centre as usual.
Once installed, use it to make a 'dist' backup. This means that user data will be excluded from the ISO image.
This is often used to create custom distributions but is still useful for the backup task you have in mind. One caveat is that it may fail if the contents of /
(minus user data in /home
) takes up too much memory because the ISO file format can only hold ~4GB data. Remastersys uses a file system called squashfs to compress your data so you should be OK with up to ~8GB.
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
add a comment |
You can use Remastersys to create a bootable live CD/DVD image. This will install like a normal Ubuntu CD.
To install Remastersys, you first need to add a repository:
deb http://www.geekconnection.org/remastersys/repository karmic/
You can then install it from the Software Centre as usual.
Once installed, use it to make a 'dist' backup. This means that user data will be excluded from the ISO image.
This is often used to create custom distributions but is still useful for the backup task you have in mind. One caveat is that it may fail if the contents of /
(minus user data in /home
) takes up too much memory because the ISO file format can only hold ~4GB data. Remastersys uses a file system called squashfs to compress your data so you should be OK with up to ~8GB.
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
add a comment |
You can use Remastersys to create a bootable live CD/DVD image. This will install like a normal Ubuntu CD.
To install Remastersys, you first need to add a repository:
deb http://www.geekconnection.org/remastersys/repository karmic/
You can then install it from the Software Centre as usual.
Once installed, use it to make a 'dist' backup. This means that user data will be excluded from the ISO image.
This is often used to create custom distributions but is still useful for the backup task you have in mind. One caveat is that it may fail if the contents of /
(minus user data in /home
) takes up too much memory because the ISO file format can only hold ~4GB data. Remastersys uses a file system called squashfs to compress your data so you should be OK with up to ~8GB.
You can use Remastersys to create a bootable live CD/DVD image. This will install like a normal Ubuntu CD.
To install Remastersys, you first need to add a repository:
deb http://www.geekconnection.org/remastersys/repository karmic/
You can then install it from the Software Centre as usual.
Once installed, use it to make a 'dist' backup. This means that user data will be excluded from the ISO image.
This is often used to create custom distributions but is still useful for the backup task you have in mind. One caveat is that it may fail if the contents of /
(minus user data in /home
) takes up too much memory because the ISO file format can only hold ~4GB data. Remastersys uses a file system called squashfs to compress your data so you should be OK with up to ~8GB.
answered Oct 16 '10 at 22:31
dv3500eadv3500ea
28.9k1289143
28.9k1289143
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
add a comment |
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
1
1
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
I tried this but last time it got too big so taring / excluding the directories im not interested in is better for me, then when i backup i dont have to wait for the CD as my HD will be quicker thanks for the advice though
– Will
Oct 16 '10 at 22:47
add a comment |
Try Remastersys.
With that program you can do liveCD (just the same as Ubuntu installation iso file) of your system with ability to install it on hard drive. Works pretty simple (if you know how to burn iso to USB/CD/DVD).
Works perfectly on my 11.10 and 11.04, and older ones as well.
Installation:
edit file /etc/apt/sources.list
add: # Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
and save
Then run in terminal:sudo apt-get update
sudo apt-get install remastersys
add a comment |
Try Remastersys.
With that program you can do liveCD (just the same as Ubuntu installation iso file) of your system with ability to install it on hard drive. Works pretty simple (if you know how to burn iso to USB/CD/DVD).
Works perfectly on my 11.10 and 11.04, and older ones as well.
Installation:
edit file /etc/apt/sources.list
add: # Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
and save
Then run in terminal:sudo apt-get update
sudo apt-get install remastersys
add a comment |
Try Remastersys.
With that program you can do liveCD (just the same as Ubuntu installation iso file) of your system with ability to install it on hard drive. Works pretty simple (if you know how to burn iso to USB/CD/DVD).
Works perfectly on my 11.10 and 11.04, and older ones as well.
Installation:
edit file /etc/apt/sources.list
add: # Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
and save
Then run in terminal:sudo apt-get update
sudo apt-get install remastersys
Try Remastersys.
With that program you can do liveCD (just the same as Ubuntu installation iso file) of your system with ability to install it on hard drive. Works pretty simple (if you know how to burn iso to USB/CD/DVD).
Works perfectly on my 11.10 and 11.04, and older ones as well.
Installation:
edit file /etc/apt/sources.list
add: # Remastersys
deb http://www.geekconnection.org/remastersys/repository karmic/
and save
Then run in terminal:sudo apt-get update
sudo apt-get install remastersys
edited Nov 19 '11 at 13:57
answered Nov 19 '11 at 13:21
foxyfoxy
553410
553410
add a comment |
add a comment |
Here is a solution I use with SquashFS. It is quite similar to TAR.GZ solution proposed earlier, but has some major benefits.
SquashFS is a compressed file system, which is completely stored in one file. This file can be mounted to an existing system and accessed in a usual way, like any other partition. The difference to TAR.GZ is that SquashFS is a full-blown file system with random access to files, while TAR is just one big concatenated file.
This means that if you want to mount some large backup of your whole file system, for TAR.GZ it would take like 5 hours (in my experience) and for SquashFS it would take just minutes/seconds. The same is true also for the compression/backup operation, SquashFS is many times faster.
UPDATE 2017-01-31:
It appears that not only can you mount squashfs file, but also open it as a usual archive with familiar apps like File Roller on Linux and 7-Zip on Windows, etc.
So here is a command I use to back up my root folder:
sudo mksquashfs / /path/to/backup/hdd/root-backup.sqsh -e home media dev run mnt proc sys tmp
where "-e" switch excludes folders you want to exclude (like virtual and external Linux folders in my example).
After the backup is done, I can now mount it:
sudo mkdir /mnt/root_backup
sudo mount /path/to/backup/hdd/root-backup.sqsh /mnt/root_backup -t squashfs -o loop
Now just wait couple minutes (depending on size of the archive) and enjoy all your files at /mnt/root_backup folder.
Same can be done for /home/myname folder, e.g.
sudo mksquashfs /home/myname /path/to/backup/hdd/home-backup.sqsh -e Dropbox GoogleDrive
I exclude Dropbox and GoogleDrive here to avoid any potential problems in the future, in case I restore those folders from backup and they become messing with the actual files in the cloud.
Check more info at http://tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
add a comment |
Here is a solution I use with SquashFS. It is quite similar to TAR.GZ solution proposed earlier, but has some major benefits.
SquashFS is a compressed file system, which is completely stored in one file. This file can be mounted to an existing system and accessed in a usual way, like any other partition. The difference to TAR.GZ is that SquashFS is a full-blown file system with random access to files, while TAR is just one big concatenated file.
This means that if you want to mount some large backup of your whole file system, for TAR.GZ it would take like 5 hours (in my experience) and for SquashFS it would take just minutes/seconds. The same is true also for the compression/backup operation, SquashFS is many times faster.
UPDATE 2017-01-31:
It appears that not only can you mount squashfs file, but also open it as a usual archive with familiar apps like File Roller on Linux and 7-Zip on Windows, etc.
So here is a command I use to back up my root folder:
sudo mksquashfs / /path/to/backup/hdd/root-backup.sqsh -e home media dev run mnt proc sys tmp
where "-e" switch excludes folders you want to exclude (like virtual and external Linux folders in my example).
After the backup is done, I can now mount it:
sudo mkdir /mnt/root_backup
sudo mount /path/to/backup/hdd/root-backup.sqsh /mnt/root_backup -t squashfs -o loop
Now just wait couple minutes (depending on size of the archive) and enjoy all your files at /mnt/root_backup folder.
Same can be done for /home/myname folder, e.g.
sudo mksquashfs /home/myname /path/to/backup/hdd/home-backup.sqsh -e Dropbox GoogleDrive
I exclude Dropbox and GoogleDrive here to avoid any potential problems in the future, in case I restore those folders from backup and they become messing with the actual files in the cloud.
Check more info at http://tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
add a comment |
Here is a solution I use with SquashFS. It is quite similar to TAR.GZ solution proposed earlier, but has some major benefits.
SquashFS is a compressed file system, which is completely stored in one file. This file can be mounted to an existing system and accessed in a usual way, like any other partition. The difference to TAR.GZ is that SquashFS is a full-blown file system with random access to files, while TAR is just one big concatenated file.
This means that if you want to mount some large backup of your whole file system, for TAR.GZ it would take like 5 hours (in my experience) and for SquashFS it would take just minutes/seconds. The same is true also for the compression/backup operation, SquashFS is many times faster.
UPDATE 2017-01-31:
It appears that not only can you mount squashfs file, but also open it as a usual archive with familiar apps like File Roller on Linux and 7-Zip on Windows, etc.
So here is a command I use to back up my root folder:
sudo mksquashfs / /path/to/backup/hdd/root-backup.sqsh -e home media dev run mnt proc sys tmp
where "-e" switch excludes folders you want to exclude (like virtual and external Linux folders in my example).
After the backup is done, I can now mount it:
sudo mkdir /mnt/root_backup
sudo mount /path/to/backup/hdd/root-backup.sqsh /mnt/root_backup -t squashfs -o loop
Now just wait couple minutes (depending on size of the archive) and enjoy all your files at /mnt/root_backup folder.
Same can be done for /home/myname folder, e.g.
sudo mksquashfs /home/myname /path/to/backup/hdd/home-backup.sqsh -e Dropbox GoogleDrive
I exclude Dropbox and GoogleDrive here to avoid any potential problems in the future, in case I restore those folders from backup and they become messing with the actual files in the cloud.
Check more info at http://tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
Here is a solution I use with SquashFS. It is quite similar to TAR.GZ solution proposed earlier, but has some major benefits.
SquashFS is a compressed file system, which is completely stored in one file. This file can be mounted to an existing system and accessed in a usual way, like any other partition. The difference to TAR.GZ is that SquashFS is a full-blown file system with random access to files, while TAR is just one big concatenated file.
This means that if you want to mount some large backup of your whole file system, for TAR.GZ it would take like 5 hours (in my experience) and for SquashFS it would take just minutes/seconds. The same is true also for the compression/backup operation, SquashFS is many times faster.
UPDATE 2017-01-31:
It appears that not only can you mount squashfs file, but also open it as a usual archive with familiar apps like File Roller on Linux and 7-Zip on Windows, etc.
So here is a command I use to back up my root folder:
sudo mksquashfs / /path/to/backup/hdd/root-backup.sqsh -e home media dev run mnt proc sys tmp
where "-e" switch excludes folders you want to exclude (like virtual and external Linux folders in my example).
After the backup is done, I can now mount it:
sudo mkdir /mnt/root_backup
sudo mount /path/to/backup/hdd/root-backup.sqsh /mnt/root_backup -t squashfs -o loop
Now just wait couple minutes (depending on size of the archive) and enjoy all your files at /mnt/root_backup folder.
Same can be done for /home/myname folder, e.g.
sudo mksquashfs /home/myname /path/to/backup/hdd/home-backup.sqsh -e Dropbox GoogleDrive
I exclude Dropbox and GoogleDrive here to avoid any potential problems in the future, in case I restore those folders from backup and they become messing with the actual files in the cloud.
Check more info at http://tldp.org/HOWTO/SquashFS-HOWTO/creatingandusing.html
edited Jan 31 '17 at 12:05
answered Dec 6 '16 at 23:57
Alexey FrishmanAlexey Frishman
226513
226513
add a comment |
add a comment |
We can also do backup of system with rsync & exclude files & folders that we don't want. Here is the following command to do this :
#rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
Using the -aAX
set of options, the files are transferred in archive mode, ensuring that symbolic links, devices, permissions and ownerships, modification times, ACLs and extended attributes are preserved
The --exclude
option will cause files that match the given patterns to be excluded.
REFERENCE : Full system backup with rsync
add a comment |
We can also do backup of system with rsync & exclude files & folders that we don't want. Here is the following command to do this :
#rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
Using the -aAX
set of options, the files are transferred in archive mode, ensuring that symbolic links, devices, permissions and ownerships, modification times, ACLs and extended attributes are preserved
The --exclude
option will cause files that match the given patterns to be excluded.
REFERENCE : Full system backup with rsync
add a comment |
We can also do backup of system with rsync & exclude files & folders that we don't want. Here is the following command to do this :
#rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
Using the -aAX
set of options, the files are transferred in archive mode, ensuring that symbolic links, devices, permissions and ownerships, modification times, ACLs and extended attributes are preserved
The --exclude
option will cause files that match the given patterns to be excluded.
REFERENCE : Full system backup with rsync
We can also do backup of system with rsync & exclude files & folders that we don't want. Here is the following command to do this :
#rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /path/to/backup/folder
Using the -aAX
set of options, the files are transferred in archive mode, ensuring that symbolic links, devices, permissions and ownerships, modification times, ACLs and extended attributes are preserved
The --exclude
option will cause files that match the given patterns to be excluded.
REFERENCE : Full system backup with rsync
edited Nov 10 '17 at 9:34
answered Dec 24 '15 at 8:21
d a i s yd a i s y
3,35282444
3,35282444
add a comment |
add a comment |
Here is a good tutorial using PartImage.
add a comment |
Here is a good tutorial using PartImage.
add a comment |
Here is a good tutorial using PartImage.
Here is a good tutorial using PartImage.
answered Oct 16 '10 at 22:14
IsaiahIsaiah
43.4k21118138
43.4k21118138
add a comment |
add a comment |
go to ubuntu software center
find Déjà Dup backup manger
install it``
run it and give path where to backup your data
select files to be backup
make a back up
later on you can chose backup by giving location of your external hard drive
gud luck
source
[https://launchpad.net/deja-dup]
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
add a comment |
go to ubuntu software center
find Déjà Dup backup manger
install it``
run it and give path where to backup your data
select files to be backup
make a back up
later on you can chose backup by giving location of your external hard drive
gud luck
source
[https://launchpad.net/deja-dup]
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
add a comment |
go to ubuntu software center
find Déjà Dup backup manger
install it``
run it and give path where to backup your data
select files to be backup
make a back up
later on you can chose backup by giving location of your external hard drive
gud luck
source
[https://launchpad.net/deja-dup]
go to ubuntu software center
find Déjà Dup backup manger
install it``
run it and give path where to backup your data
select files to be backup
make a back up
later on you can chose backup by giving location of your external hard drive
gud luck
source
[https://launchpad.net/deja-dup]
answered Nov 19 '11 at 12:25
paru38paru38
5741616
5741616
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
add a comment |
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
I want to backup my entire system not just my music or videos.
– Alvar
Nov 19 '11 at 12:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
@Alvar you can select the "/" or "File System" and can back that up (that is the ENTIRE SYSTEM).
– jaorizabal
Mar 23 '12 at 22:27
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
how do I install it? how do I backup my system with it?
– Alvar
Mar 23 '12 at 22:32
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
It does seem to be reliable at all. Just read some user reviews here apps.ubuntu.com/cat/applications/deja-dup
– ILIV
Nov 4 '16 at 9:04
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
@ILIV well yeah, the review sucks. That's good to know. Guess it's could be used for single files and music stuff maybe.
– Mohammed Joraid
Jul 10 '17 at 21:42
add a comment |
TimeShift.
TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was taken.
Open the terminal and run the following command
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
Screenshots
add a comment |
TimeShift.
TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was taken.
Open the terminal and run the following command
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
Screenshots
add a comment |
TimeShift.
TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was taken.
Open the terminal and run the following command
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
Screenshots
TimeShift.
TimeShift protects your system by taking incremental snapshots of the file system at regular intervals. These snapshots can be restored later to bring your system to the exact state it was in at the time when the snapshot was taken.
Open the terminal and run the following command
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift
Screenshots
answered Jun 27 '16 at 13:02
community wiki
m3asmi
add a comment |
add a comment |
Crashplan will back up all your system files and data and allow you to recover it - either on your current PC or allow you to adopt it to another install.
You can back up to their online system, another computer or any attached hard drive.
add a comment |
Crashplan will back up all your system files and data and allow you to recover it - either on your current PC or allow you to adopt it to another install.
You can back up to their online system, another computer or any attached hard drive.
add a comment |
Crashplan will back up all your system files and data and allow you to recover it - either on your current PC or allow you to adopt it to another install.
You can back up to their online system, another computer or any attached hard drive.
Crashplan will back up all your system files and data and allow you to recover it - either on your current PC or allow you to adopt it to another install.
You can back up to their online system, another computer or any attached hard drive.
answered Nov 19 '11 at 12:56
Mark RooneyMark Rooney
5,97112957
5,97112957
add a comment |
add a comment |
If you hard-disk where Ubuntu is installed isn't too big, you can try booting from a live cd (any linux distro will do) and running:
dd if=/dev/sda of=/path/to/external/hardisk/mybackupfile
This makes a backup of your whole hard-disk, not just Ubuntu, and it'll also do all the empty bytes, but it's the only solution I can think of.
To restore the backup, use:
dd if=/path/to/external/harddisk/mybackupfile of=/dev/sda
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
add a comment |
If you hard-disk where Ubuntu is installed isn't too big, you can try booting from a live cd (any linux distro will do) and running:
dd if=/dev/sda of=/path/to/external/hardisk/mybackupfile
This makes a backup of your whole hard-disk, not just Ubuntu, and it'll also do all the empty bytes, but it's the only solution I can think of.
To restore the backup, use:
dd if=/path/to/external/harddisk/mybackupfile of=/dev/sda
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
add a comment |
If you hard-disk where Ubuntu is installed isn't too big, you can try booting from a live cd (any linux distro will do) and running:
dd if=/dev/sda of=/path/to/external/hardisk/mybackupfile
This makes a backup of your whole hard-disk, not just Ubuntu, and it'll also do all the empty bytes, but it's the only solution I can think of.
To restore the backup, use:
dd if=/path/to/external/harddisk/mybackupfile of=/dev/sda
If you hard-disk where Ubuntu is installed isn't too big, you can try booting from a live cd (any linux distro will do) and running:
dd if=/dev/sda of=/path/to/external/hardisk/mybackupfile
This makes a backup of your whole hard-disk, not just Ubuntu, and it'll also do all the empty bytes, but it's the only solution I can think of.
To restore the backup, use:
dd if=/path/to/external/harddisk/mybackupfile of=/dev/sda
answered Nov 19 '11 at 13:29
HippoHippo
394316
394316
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
add a comment |
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
so how would I restore my Ubuntu distro from a copy om my whole HDD? Because you can't do that...
– Alvar
Nov 19 '11 at 13:54
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
@Alvar by storing the backup on an external/cloud drive and running it from a live CD/DVD/USB image.
– MacroMan
Mar 5 '18 at 11:16
add a comment |
I have found you a detailed and recent how to on using Clonezilla. Clonezilla will let you make an image of your complete system including all hard drive partitions etc and later restore it.
The tutorial is at http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/
add a comment |
I have found you a detailed and recent how to on using Clonezilla. Clonezilla will let you make an image of your complete system including all hard drive partitions etc and later restore it.
The tutorial is at http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/
add a comment |
I have found you a detailed and recent how to on using Clonezilla. Clonezilla will let you make an image of your complete system including all hard drive partitions etc and later restore it.
The tutorial is at http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/
I have found you a detailed and recent how to on using Clonezilla. Clonezilla will let you make an image of your complete system including all hard drive partitions etc and later restore it.
The tutorial is at http://geekyprojects.com/cloning/how-to-use-clonezilla-tutorial/
answered Nov 20 '11 at 18:42
lpanebrlpanebr
8921827
8921827
add a comment |
add a comment |
You can use tools like Bacula Community or Bacula Enterprise.
The difference between them is that community version doesn't support bare metal restores when you don't need to re-install the system and just purely recover it after the major crash.
add a comment |
You can use tools like Bacula Community or Bacula Enterprise.
The difference between them is that community version doesn't support bare metal restores when you don't need to re-install the system and just purely recover it after the major crash.
add a comment |
You can use tools like Bacula Community or Bacula Enterprise.
The difference between them is that community version doesn't support bare metal restores when you don't need to re-install the system and just purely recover it after the major crash.
You can use tools like Bacula Community or Bacula Enterprise.
The difference between them is that community version doesn't support bare metal restores when you don't need to re-install the system and just purely recover it after the major crash.
answered Apr 19 '18 at 10:14
Andrew YunisovAndrew Yunisov
1
1
add a comment |
add a comment |
I use a program called Back In Time that's similar to Apple's Time Machine.
It's easy to tell it where you want your backups to go and how often to do the backup.
Back In Time is in the Ubuntu repos.
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
|
show 2 more comments
I use a program called Back In Time that's similar to Apple's Time Machine.
It's easy to tell it where you want your backups to go and how often to do the backup.
Back In Time is in the Ubuntu repos.
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
|
show 2 more comments
I use a program called Back In Time that's similar to Apple's Time Machine.
It's easy to tell it where you want your backups to go and how often to do the backup.
Back In Time is in the Ubuntu repos.
I use a program called Back In Time that's similar to Apple's Time Machine.
It's easy to tell it where you want your backups to go and how often to do the backup.
Back In Time is in the Ubuntu repos.
answered Oct 16 '10 at 23:17
gamerchick02gamerchick02
1,3481020
1,3481020
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
|
show 2 more comments
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
That doesn't explain how to backup my system and how to restore it at all. When i can't even boot up back in time won't be able to help. If you can suggest how to use backup in time in this way I would be appreciative. Cheers
– Will
Oct 17 '10 at 9:11
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
Back in time uses is a frontend for rsync. You'll have to have Ubuntu installed to use it. I agree with fluteflute's comment above that it's easier to backup your files. That's what I thought you wanted.
– gamerchick02
Oct 17 '10 at 16:21
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
I already backup my files ;) The amount of times i render ubuntu inoperable its easier to either reinstall or revert to a backup than fix the problem (generally i need it fixed as I have work to do in between fiddling and breaking!)
– Will
Oct 17 '10 at 23:11
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
Right. I tried back in time to setup an automatic backup but i get a whole bunch of errors. Most like this: (its just a small fraction, and im running in root mode)
– Will
Oct 18 '10 at 15:55
1
1
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
The backup commands noted above would probably work best for you. I only suggested Back in Time as a frontend for the rsync, etc. You can choose what you want to make a backup of, including all of the system files.
– gamerchick02
Oct 18 '10 at 23:46
|
show 2 more comments
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.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f7809%2fhow-to-back-up-my-entire-system%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
you may want to take a look at this question for backup tools askubuntu.com/q/2596
– Decio Lira
Oct 17 '10 at 1:03
May I ask why you want to do this? In most cases it is your files you will want to backup - the rest of the system is for most people easy to reinstall from the Ubuntu CD.
– 8128
Oct 17 '10 at 7:59
9
Because i hate reinstalling all my apps and PPAs, icons and themes. My HD crashes the installer sometime and I just generally hate installing everything from scratch.
– Will
Oct 17 '10 at 23:10