New answers tagged

2

I could solve this by removing writing right from the dummy mount point folder. This way, copying files fails if mounting was not successful.


1

It should be as simple as making a copy of the file. Then, if something goes wrong, you can just delete your modified file and rename the copy. I would do: sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bak then: sudo nano /etc/mysql/my.cnf To restore: sudo rm /etc/mysql/my.cnf sudo mv /etc/mysql/my.cnf.bak /etc/mysql/my.cnf


2

It's a normal file so you can cp top create a backup sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.backup and restore it sudo cp /etc/mysql/my.cnf.backup /etc/mysql/my.cnf You may use whatever file name and path you want instead of /etc/mysql/my.cnf.backup


0

I do not recommend Deja-dup because it is not close to Time-Machine in features, and is unstable with many filesystems. I have not managed to get proposals of Mitch sufficient in features for my needs. They break too much. Just use tar czf as described here separately for the system and home such that you can easily work vertical with your systems in many ...


1

This is almost certainly an unneeded file as the naming convention for the map files in /boot is as follows: andrew@athens:~$ ls /boot | grep -E *map* System.map-4.4.0-15-generic System.map-4.4.0-22-generic Test this on your own system, this is on Xenial Xerus 16.04. The file can be safely left in place but if you are at all worried simply back the file ...


0

Run: xtrabackup --backup --target-dir=/path/to/targetdir --datadir=/var/lib/mysql/ You may need to install it with: sudo apt-get install xtrabackup


0

Using dd it sounds like you're copying the whole drive every time, 4min is fast but still probably a ton of unnecessary copying. Why not only copy changed files, from the mounted / decrypted drive? An rsync style backup script or program probably exists, or track files modified or changed (crc, md5, etc) with your own script/program. Should be a lot faster &...


0

I have been looking into this myself and as yet, I cannot fond an app that can do a full system backup/restore, like the laptop ones you have mentioned. Smartphones by their nature are intended to function differently from desktops/laptops. They store a lot of their data in the cloud (contacts, emails, photos and such like). However, this will not cover sms'...


0

Unstable. Impossible. Horrible with many filesystems. Insufficient also for non-continuous systems. Please, consider in using tar czf in making backups as described here. Make cron if regular backups are needed.


0

I do not recommend to use Deja-dup because it will fail if multiple file-systems and also in many dynamic situations. Just use tar czf for making the backup as described here with an attempt for quality assurance. In tar, use --exclude=$HOME/Music/ etc. Make cron if you need regular backup.


0

rsync is the way to go when doing these sort of things, with a little help from cron to schedule the task. So for example, if you want to backup the directory /foo/bar recursively to remove server spamegg, you can do: rsync -a /foo/bar user@spamegg:/where/to/put rsync will do incremental backup so will not be network and bandwidth intensive too. Setting ...


0

Use the default "backups" (Deja-Dup). But first, ensure that "duplicity" is installed: sudo apt-get install duplicity


0

Restoring Windows from one PC to another is ... a Windows problem, not Ubuntu problem. I guess it can be done. This site does not offer Windows support. Perhaps you should looks for such backup support on Windows sites. As for dual-boot, i always find easier to first install/restore Windows and then install Ubuntu. Less trouble, less problems (Ubuntu ...


2

In short, yes. You may need to re-register and/or re-import the private keys from these locations, but you can do that after installing the respective tools. However, you should make sure that you actually backed up the private keys and that they're valid. md5summing is good enough for this.


1

Backing Up To get started, please open up a terminal, in Ubuntu this can be done by Ctrl + Alt + T Some directories require root or superuser permissions to read and write (needed for backup). For that just execute the following sudo su Then Type in your password. You need to have an Administrator privileged account. For this example, we will change ...


0

Method 1: CloneZilla way: 1) I am unhappy that there is nothing exist for this to recover/backup 11.10 2) Anyway i have to do it 3) I did not used the popular Clonezilla because it does not offer me iso 4) I downloaded: http://clonezilla-sysresccd.hellug.gr/download.html a) created a bootable CD from that ISO b) booted and followed those steps http://...


0

With the tool WinSCP you can copy it to your windows machine. It might be a little slow though. To create only one big file which would drastically increase the speed you would just need to create a tar.gz file of the files you want to transport. tar -czf backup.tar.gz /path/to/file /path/to/file .... Connect with WinSCP and copy it to your local drive. ...


1

Looked like you previously had some quotation issues. Using ascii quotes won't work well with code, use the standard coding quote (") instead. Ascii quotes come from word processors like libreoffice or abiword; don't use those programs for coding. Use something like gedit or leafpad. Also, are you putting this in /etc/crontab? If so, you need to add a user ...


1

I don't believe so. You'll have to upgrade 14.04 to 0.28 first, then backup the database, install 16.04 and then restore. It's possible that you can restore a 0.27 database to a 0.28 system and the backend will attempt to upgrade that when started, but I've not tested this.


0

You can mount sdb and sdc on your server at /mnt/backup/husband/ and /mnt/backup/wife That way you can maintain your current settings. I would not worry about names of mount points so much.


1

I need to back up my files on my external hard disk from the TTY. You can't do it precisely from the TTY because you destroyed your sudo ability and probably you won't be able to mount the external drive. However, you have two options: booting in a root shell using a live DVD or USB Backup booting in a root shell You cut yourself superuser powers, so ...


0

It sounds like it would be possible, but it will take some time. Now I have never done exactly what your trying to do, but what I would do is use the GParted live CD and shrink down the partitions on both hard drives so that both or all the partions would fit on one drive. Then on the drives check which one has the boot label most likely the one with Ubuntu ...


0

If you want to back up the whole drive, replace /dev/sdX with the drive location (e.g. /dev/sda). If you want to back up just one partition, replace /dev/sdX with the partition location (e.g. /dev/sda1). Type the following command into the terminal, replacing /dev/sdX as stated above (/path/to/iso/file is where the ISO is saved) sudo dd if=/dev/sdX of=/...


0

Always reinstall your operating system? Out of work or its inner problem? Maybe you can try snap in backup utility or third party software to backup system, and restore the backup image when necessary, which probably saves you a lot of time.


0

You can increase the block size: bs=BYTES read and write up to BYTES bytes at a time For example: dd if=path_to_usb_drive of=path_to_copy_to bs=8192


1

Ubuntu has a built-in utility to do this! Simply search for "Backups" in the dash, and the app will pop up: Click on the icon to open it, and then you should see this: Simply adjust the settings to your liking, and do a backup.


0

You can use Mondo Rescue Disaster Recovery Tool. # wget ftp://ftp.mondorescue.org/ubuntu/16.04/mondorescue.sources.list # sudo sh -c "cat mondorescue.sources.list >> /etc/apt/sources.list" # sudo apt-get update # sudo apt-get install mondo Here you can find more screenshots about how to proceed. Or, a simpler solution would be to use a Virtual ...


1

I would recommend to use a disk imaging tool like Clonezilla, which can backup the complete contents of your disk into an image, which can be stored on a USB drive, another disk, a network share, or even a writeable DVD. To use it, Download the current stable version, write the ISO to a DVD or USB stick, and boot it, and follow the instructions to create an ...


0

Clonezilla is a reliable tool which does exactly what you want to do. Download Clonezilla Live and create a bootable DVD or USB media. Boot from the media and clone the content of the system installation. I created presentations which explain how you have to do everything : Create a backup using Clonezilla | Restore a backup using Clonezilla


0

You cannot easily. Use simply tar czf as described here. Differential tool is Deja-dup but it is unstable with many filesystems and even with core-systems.



Top 50 recent answers are included