Tag Info

New answers tagged

0

In my experience, network backups are good for people with lots of time. Anyone who has so little to backup that they can perform the backup time-effectively, can do so using a usb flashdrive such as the 128 I'm using my Ubuntu backup utility with, making incremental backups every couple of days. On average flash drives are faster than network backups. ...


3

The script below is an opposite- variant of this script; while that one acts on specified drives, this scripts acts on all except specified (usb) drives. What it does Whenever an external usb storage device is being connected, the script copies its content into a directory, defined by you (in the head section of the script: target_folder =). A sub ...


4

It does not matter. Because if you install and run the software after restoring back, the software will start using config files right away, because those files came from restore. but when you install software and then restore the config files will be overwritten. You will be back when you made the backup. if you do this way, make sure you have closed all ...


1

Have you considered CrashPlan? They support Linux (I'm running it from my Ubuntu 14.04 server) and they offer unlimited storage for a reasonable cost. If you're in the USA they also have the option of shipping a seed drive so you don't have to upload that 1 TB of initial backup. They have 2 encryption options, one where your account password is your ...


0

Depending on what you mean with "Is there a way to backup an individual partition that is part of a logical volume?" there are a few possible answers: Can I continue using my current back-up software to back-up? Yes, you can, it's just another partition.. Can I clone the partition easily for redeployment somewhere else? Yes, you can if you set up the LVMs ...


0

As no one seems to be answering anything, I'll chuck in: No experience with LVM under Ubuntu, but experience on other OSes... I would use Clonezilla to clone and I would clone partitions, not the entire system, using partition-to-image. Why? Full system clone will clone the GPT or MBR as well and restoring that on top of the LVM system will surely break ...


0

If I understand you correctly, what you want to do, is use your flash drive as the 'harddrive' in Virtualbox. This way all your changes will be reflected on the flash drive. In order to do this, you will need to make a virtual hard drive that points to the physical device, then use the virtual hard drive with Virtualbox. Use the following command, ...


0

Turns out, ~/.cache/deja-dup wasn't writable. But now I get 'Could not restore ‘~/.cache/deja-dup/metadata’: File not found in backup'..., see my new post: "Backup Failed": Could not restore ‘~/.cache/deja-dup/metadata’: File not found in backup


1

The file list of the ukopp package indicates it is located at /usr/share/ukopp/data/userguide-en.html on your system.


0

I found the solution. I took me two full days to find it. I hope this help you to not spend that much time. The first problem was that the sub-directory subdir in /usr2/subdir was included and I did not wanted that whole directory to be included, I just wanted it to be the base directory, so it requires a slash at the end as in /usr2/subdir/, so my new ...


1

In linux, all your userdata is stored in you home, e. g. /home/user. It's explained : here. For BfW, there is an entry in the wiki. I guess, if you copy ~/.local/share/wesnoth/, it should work.


0

You should have used the UI to do that, but now that you are in this situation, a sudo apt-get remove --purge deja-dup and sudo apt-get install deja-dup should fully reset deja-dup... However, now that you're uninstalling deja-dup anyway, you might have a look at "back-in-time" as well... ;-)


1

You need not copy the entire contents of the USB drive. Just copy the casper-rw file to the computer as a backup. casper-rw is the name of the file where the Live USB stores persistent information. The next time you need to create a USB drive with the same settings and applications, create a live USB using uNetbootin or any other program and copy your ...


3

Many many folders are affected when installing software. For a complete picture see How to understand the Ubuntu file system layout? Directories you will need are /bin/, /sbin/, /usr/, /etc/, /var/ , /lib/, /home/, /opt/ (3rd party software goes to /opt/; might be empty). /boot/ might be needed too depending on what you install. I would reconsider if I was ...


0

From the man page: DESCRIPTION [Quote] It [rsync] offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending ...


0

Start by: Run DEJA backup GUI and configure what you want to backup and where to save your backup files, without clicking backup now, just save your backup setting and exit Deja GUI. Start terminal ALT+CTRL+T and type this command when you are ready to start backup sudo deja-dup --backup. GUI window will open and backup should start.


1

You can have a look at Remastersys. Although its development is no longer taking place, you can still download it from here and install the deb file using dpkg. sudo dpkg -i <filename>.deb It can be used to create custom bootable ISOs (LiveCD) which can be customised according to the user's preference in terms of the packages installed, themes, etc. ...


1

Check the "delete on destination" checkbox in the "basic options" tab. It's like specifying the -d option in rsync which will delete files and folders that are not on the source disk.


-1

maybe for beginners conduit would be interesting and very easy to handle with it's GUI... but it isn't developed anymore (like Unison)!


1

I would advise Unison (unison-gtk ) This is a graphical sync program, and can be installed via the Software Centre, but the easiest way to install is via the terminal: sudo apt-get install unison unison-gtk Then it will be in the dash, search for unison. You can create profiles and such like to sync locally between USBs and remotely via SSH. The best ...


0

You can do it easily with rsync (for synchronizing) and cron (for scheduling regular calls of rsync). To just synchronize: rsync -rtvu --delete source_folder/ destination_folder/ To schedule cron: sudo crontab -e # For example, you can run a sync # at 5 a.m every week with: 0 5 * * 1 rsync -rtvu --delete source_folder/ destination_folder/ These ...


0

I realize that this is an old question, but I was restoring lightning data after an OS crash. This is what I did to get my calendar working: Close Thunderbird if it's running Copy all files from backup profile directory's calendar-data subdirectory into your new profile directory. Likely local.sqlite is the only file needed, but I had a few others so I ...


1

The best solution would be to setup everyting again on the server and copy only the "production data". (You should document your setup, so that you can recreate it whenever necessary and only need backups for restoring production data.) Restoring parts of an operating system to another existing system is a bad idea and will result in inconsistencies. For ...


1

You should declare --one-file-system first before the exclusion rule. There is note from the same guide you followed. If you want to exclude all other mounts other than the current - by this I mean partitions mounted to directories - then use the --one-file-system option appended before the exclusion rules. This has the effect of stopping tar from ...


1

The files in /dev/ folder are special, in a way that they represent devices on the machine, and are not regular files that have content in them. That file probably represents a flash drive you plugged in to your computer, or a USB bus. If it's a USB flash drive, mounting it first, then copying it's contents will do the trick. You could also try backing up ...


0

Silly that I don't have enough rep to comment. I tried your solution to back up locally then back up via ftp again and it didn't work for me. I submitted a bug report to the dev: https://bugs.launchpad.net/deja-dup/+bug/1396691 Hopefully anyone else finding your post and having a hard time, will be able to add their info to my bug report to help the dev ...


1

A closer study has revealed the root cause of my problem: the receiving file system was not case-sensitive, and the files in question all had identical names in all but the extension, like this: 2873603 Oct 20 2009 R1.JPG 2180728 Oct 20 2009 R1.jpg 2814276 Oct 20 2009 R2.JPG 3150011 Oct 20 2009 R2.jpg There seems to be a working general solution to ...


1

It sounds to me like what you are wanting to achieve is exactly the way BackupPC works. See http://backuppc.sourceforge.net/ You can install it in Ubuntu using sudo apt-get install backuppc Note however that the default install doesn't do anything on its own. You will have to create configuration files for each machine and/or directory you want backed ...


1

In the default mode of operation rsync uses the modification time as key to determine whether a file should be transferred or not. From its manual page: Rsync finds files that need to be transferred using a "quick check" algorithm (by default) that looks for files that have changed in size or in last-modified time. Using the --checksums option, ...


0

There is a slight problem with the accepted answer, in that it cannot handle custom commands with quotes in them. I only changed the processing of custom commands to generate correct output. #!/usr/bin/perl use strict; my $action = ''; my $filename = '-'; for my $arg (@ARGV){ if ($arg eq "-e" or $arg eq "--export"){ $action = 'export'; } ...


0

In my opinion corn job is better alternative than any infinite loop. I am assuming the ~/backup folder already exists. One can set a corn job to run the following script at an interval of n minutes depending on their need. It will serve the purpose. Run the script at an interval of 5 minutes open user's crontab (cron configuration file) from a terminal as, ...


0

Not tested, but I would approach the problem in this way: The script: #!/bin/bash BACKUP_LOCATION='backup' FILE_TO_MONITOR='workfile' PREVIOUS_MD5='000' if [ ! -d "$BACKUP_LOCATION" ] then mkdir -p "$BACKUP_LOCATION" echo "Init backup dir..." fi while true do MY_TIMESTAMP=`date +"%Y-%m-%d-%H:%M:%S"` MY_MD5=`md5sum "$FILE_TO_MONITOR"` if [ ...


0

Im not entirely sure of what the use case is here. But instead of having "backups" made of files according to a specific time-stamp isn't it better just to store changes between versions?! If you'r files are non binary, like text or source code using git if they are binary i would use rsnapshot, as it will automatically create a parallel folder structure ...


0

With regards to the second half of your question "This is the error I get when using dd": I can see a couple of possibilities. Note the difference in command you typed versus the accepted answer; you're missing a ~ in front of /USB_image. In other words, you're trying to output the root of your filesystem instead of to your home directory. /dev/sdd may not ...


0

I would just use git. You can revert changes as necessary and host your "remote" repo on a hard drive, another computer, or just about anything else you want to. You can check the status of changes and push to your repo as needed, meaning that a daily backup isn't necessary. That being said, you might want the daily backups, in which case you could write a ...


0

Go to the Backups settings, go to Overview and check that "automatic backups" is off.


0

I'm looking and investigating exactly the same, I could sugget https://attic-backup.org/quickstart.html#automating-backups for now, seems to be quiet simple and good for backups of linux. There is also bacula with this feature, but attic seems to be good enough for most cases.


0

I solved this by deleting a corrupt duplicity-full-signatures file from my destination storage location. Here are the steps I performed. I tried steps 1 and 2 first, and they didn't work. But I'm listing them so you know exactly what I did. Deleted the deja-dup directory from ~/.cache/ (This step may be unnecessary.) Deleted the Duplicity directory from ...



Top 50 recent answers are included