Tag Info

New answers tagged

0

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 ...


1

The short answer is yes. The long answer is that all generic data compression is lossless, and almost all media encoding is lossy. I'll try to explain why below. There are two types of compression, lossless and lossy. In lossless compression no information is lost and so the original data can be reconstructed perfectly from the compressed version. In ...


1

From man rsync: CREDITS ... This program uses the excellent zlib compression library written by Jean-loup Gailly and Mark Adler. From the zlib homepage: zlib is designed to be a free, general-purpose, legally unencumbered -- that is, not covered by any patents -- lossless data-compression library ... Beyond verifying zlib, ...


0

This solution worked for me: https://answers.launchpad.net/backintime/+question/90513 My job configuration was saved under my user and not root because I was using sudo backintime-gnome and not gksu backintime-gnome. sudo will not change HOME environ which causes problems: $ sudo env | grep ^HOME HOME=/home/user $ gksu env | grep ^HOME HOME=/root


0

What you need is RAID. More: you need RAID-1. There are various types, you can read up on the Internet about how to set up your hard drives in these combinations.


0

I'm slightly confused with what the actual problem is, and next time try and keep this forum for Ubuntu related Q/A only but I'll see what I can do. :) If the Windows partition is still in tact and it is just corrupt Windows files, you can download a copy of Ubuntu and burn it to a DVD/USB. From there, you can boot off it off the Live DVD/USB mode rather ...


0

i was getting an error when trying to loop mount an image i restored using partclone.restore. my original backup was created with clonezilla, i backed up a partition to an image. EXT4-fs (loop0): bad geometry: block count 14648437 exceeds size of device (14215168 blocks) so i used the following command to truncate it truncate -o -s 14648437 sda2.img ...


1

All you need is your so called 'profile' folder from your backup. This is a folder with the .default extension (the foldername itself will be some random numbers and letters ). It will be located in ~/.thundebird . In a clean install of mozilla thunderbird, you then need to copy that folder into the same directory on your newly installed Ubuntu machine. ...


0

If you wish to do that via terminal you do the following: cd ~ cp -r .thunderbird thunderbird-backup After that you can see and move thunderbird-backup directory anywhere you want.


0

Systemback is a better then Windows Restore like program that can make live USB copy in a very simple way, no terminal needed. Also restoring from Live USB or on fresh install is also posible. It takes about 2-3min to make full backup of the system and can be scheduled at will. Works perfect under Ubuntu 14.04


2

I am assuming you mixed up and are referring to thunderbird, based on your tags. Guessing from your description, opening your HDD shoud show a folder home. Enter it and you should see your username. Enter it and press Ctrl+H, locate .thunderbird and copy it over to external storage. Your home should be the folder home/<username> on whichever drive ...


0

Note: What you want is backup and not sync. Sync is not backup. For example, if you sync a local folder to a remote folder and delete a file in the local folder, it will get deleted from the remote when the folders sync. Then you won't have that file in either of the folders and there will be no way to get it back. The default backup software, Déjà Dup ...


1

Download the ignorelist to /var/tmp/ignorelist wget https://gist.githubusercontent.com/rubo77/8ffaadbc58ab099d2bc3/raw/099c3e350a92e7dcb3ef406c10d4b2740151c22f/ignorelist -O /var/tmp/ignorelist Then start the rsync with rsync -aP --exclude-from=/var/tmp/ignorelist /home/$USER/ /media/$USER/linuxbackup/home/


1

From man rsync: --exclude-from=FILE read exclude patterns from FILE This option is related to the --exclude option, but it specifies a FILE that contains exclude patterns (one per line). Blank lines in the file and lines starting with ’;’ or ’#’ are ignored. If FILE is -, the list will be read ...


0

Have you tried playing around with the rsync options? The options -c, -W and --delay-updates could be helpful.


0

For the people that don't know, MEGA is a Dropbox alternative, with 50GB of free storage, available for Mac, Windows and Linux, created by Kim Dotcom. Install The following PPA, will install the latest mega in your system: sudo add-apt-repository ppa:otto-kesselgulasch/mega sudo apt-get update sudo apt-get install megasync Features Here are some ...


2

For the people that don't know, MEGA is a Dropbox alternative, with 50GB of free storage, available for Mac, Windows and Linux, created by Kim Dotcom. I have been using Mega for months now, and it has turned into my new default Cloud Storage Service. Although some features are not present, such as: file previewer for Document files(.doc/.pdf/.txt). Image ...


1

I'm not sure about some facts, so I'll try to answer both: it can happen that the status bar message is frozen. BIT will read the message from ~/.local/share/backintime/worker<ID>.message. Sometimes this file did not get removed correctly and BIT will keep showing that message even if there is no more snapshot running. Deleting the above file will ...


-1

Check the values PubkeyAuthentication yes AuthorizedKeysFile %h/.ssh/authorized_keys Subsystem sftp /usr/lib/openssh/sftp-server in /etc/ssh/sshd_config


0

The following command uses my pubkey and does not ask for a password even though I have both a valid password and valid pubkey for the remote host. Also make sure you don't have a password set in .ssh/config just to be safe. rsync -av /home/user user@hostname:/home/user/backup


0

Your current system partitions looks good enough. However I cannot comment on the space you have allotted for /home. As a quick suggestion, instead of having 450GB in single partition, have that segregated into multiple partitions. So you can have different volumes for your work. With this, your operations become local to that particular volume and the other ...



Top 50 recent answers are included