Backing up is the process of making copies (a backup) of data which may be used to restore the original after a data loss event.

learn more… | top users | synonyms (1)

3
votes
1answer
32 views

cp command which partially resolves symlinks

Is there an easy way to copy a directory recursively where symlinks to external files/directories are resolved (target file is copied), but internal symlinks (pointing to files inside the copied tree) ...
1
vote
1answer
53 views

rsync with --link-dest options doesn't create hard links [closed]

I created a backup script that should create incremental backups every day and a full backup once a week from a remote host to my external backup hard drive. (short example at the bottom) The script ...
3
votes
4answers
138 views

Archive the oldest file, where files are named according to their timestamp

Context I have backup scripts running which create tar.gz files and transfer them to a dropbox folder on my headless linux VM. Problem I do not know how to create a script which will detect the ...
0
votes
2answers
414 views

How to backup and restore to different hardware in Linux? [duplicate]

I am running Fedora 22 on a Dell Laptop. I plan on migrating to a desktop soon which will also run Fedora 22. What is the best way to go about backing up and restoring my laptop configuration to the ...
1
vote
2answers
34 views

Is it necessary to transfer `tar` files through `rsync` in archive mode?

I have a bunch of tar files in my machine which I want to transfer to an external hard drive (EHD); they where created preserving permissions (using the -p flag). I plan to use rsync to copy them to ...
3
votes
2answers
44 views

How to backup the data of my Linux system if I want to retrieve it in other operating systems?

I am a basic Linux user and would like to backup my data (my home directory to be precise) in an external hard drive (EHD), but would like to be able to retrieve this data in other operating systems ...
1
vote
1answer
47 views

Cannot close the file /etc/mtab when restoring /etc with rar

Prior to reinstalling VPS and upgrading from Debian 6 to Debian 8, I have archived /etc/ folder. Now, I am trying to extract and overwrite everything, but somewhere in the process I get this message ...
2
votes
0answers
60 views

Backup using find and ssh to off-site server

I'm sure this has been been answered in bits and pieces on many sites, but somehow I can't seem to get this (as a whole) to work reliably. Scenario: I have a server that I would like to do ...
-1
votes
1answer
52 views

Linux backup a folder by each

I have a folder /home/software, with some sub folders /home/software/game /home/software/photo /home/software/ebook ... I want to create tar backup including the date for each sub-folder so I will ...
0
votes
1answer
48 views

How to keep all log files?

I just lost important log file. Time Machine etc is not in use in that Mac. I would like to setup in my Mac (El Capitan) some unix thingie, which keeps all log files. Logs rotate, right? So if i ...
3
votes
2answers
48 views

Remove all but the latest backup file monthwise

I've got a directory, containing lots of weekly generated files with names like db_20130101_foo.tgz db_20130108_foo.tgz db_20130115_foo.tgz ... and so on. Over the years, the disks will get ...
2
votes
2answers
51 views

How I can ignore transient failures in scripts run by cron?

I have various backup-style scripts which run from cron on a headless server (Ubuntu 14.04), typically on a daily schedule. Cron is configured with a mail server so I get feedback from jobs. Normally ...
0
votes
1answer
104 views

Auto Mount and Backup on any usb sticks connected

Hello Unix and Linux Lovers! I have spent now about 2 days looking for a solution of my problem but couldn't find a fitting one; I like to back up files to any usb stick which is connected on a ...
0
votes
0answers
41 views

What is the “-rescue” function of Clonezilla and when should I use it?

When running Clonezilla on a NTFS-drive with bad sectors the cloning is interrupted and I get a suggestion from Clonezilla to use the -rescue option to save as much as possible from the damaged drive. ...
2
votes
0answers
27 views

How can I access timemachine back ups from Linux Mint?

I can connect to my AirPort WiFi via my Linux machine but am trying to access time capsule backups I made when I had a MacBook Air. I have researched and found info on airport-utils, but have had no ...
2
votes
1answer
68 views

How to backup readable but not writable files using rsync?

I am using rsync to backup some folders in my home directory to a remote server using the following commands: cd rsync -Favz --inplace --delete --delete-excluded folder1 folder2 folder3 ...
0
votes
1answer
81 views

How to restore a whole OS from TSM image backup?

With a: dsmc b image FSNAMEHERE I can back up all the filesystem in a machine. But how can I restore it? Boot off a liveCD, install TSM client somehow, then restore image backup to local disk? OS ...
3
votes
3answers
76 views

Rebuild original file from diff files to save disk space

Every day 10GB text file is downloaded, the file is ~200 million lines and ~1% of the lines are changed the next day. I want to keep daily files as backup, but I'm trying to save disk space by using ...
0
votes
0answers
19 views

Replicate CentOS server to AWS

Have a CentOS 6 LAMP web server currently running on on-premise hardware. I'd like to replicate or image this server to a VM in AWS for backup purposes. Is this possible? If so, what tools would you ...
93
votes
19answers
16k views

What is the fastest way to send massive amounts of data between two computers?

This is a situation I am frequently in: I have a source server with a 320GB hard-drive inside of it, and 16GB of ram (exact specs available here, but as this is an issue I run into frequently on ...
1
vote
1answer
88 views

Where does cups store its configuration?

I want to do a backup of my cups configuration to transfer it to a new system. But where does cups actually store the printer settings? I've watched /etc/cups/ but the only thing that happened when ...
0
votes
3answers
40 views

Backing up files [duplicate]

I would like to backup all files older than 90 days and greater plus gzip them. I could execute: find /path/to/files -type f -mtime 90 -exec gzip "{}" \; Problem with this command is it includes ...
1
vote
1answer
33 views

Backup workspace without local copies of remote git repositories

I would like to backup my workspace without backing up all the content of git repositories that are online available anyway. So I think of something like, that I could backup only the file ...
1
vote
1answer
42 views

DD to a bigger partition

So I made a backup of /dev/sda1 (NTFS) using: sudo dd if=/dev/sda1 conv=sync,noerror bs=64K | gzip -c >/media/My\ Book/backup/Root20131215 In the meantime I increased the size of /dev/sda1 to ...
0
votes
1answer
68 views

How to backup all the files that I'm copying before being overwritten?

I have a folder like this: ./folder-a/index.html ./folder-b/index.html ./folder-c/subdir/index.html ./new-content/folder-a/index.html ./new-content/folder-b/index.html ...
1
vote
1answer
33 views

Backing up a full Linux installation

Is it possible to backup a full Linux System on a USB-Stick and reinstall it on the same device again? I have already looked into Software like Clonezilla, but all of those solutions don't seem to ...
2
votes
2answers
229 views

How can I *automatically* backup my contacts in Google Contacts/Gmail?

On a similar theme to this question, how can I automatically (on a schedule) back up my contacts from Google Contacts/Gmail from the command line (Linux or OS X)? Ideally, this mechanism would be a ...
-1
votes
2answers
112 views

best way to upload files(100gb+) from freebsd server

I need to upload lots of files(100gb+) from server, currently i get ssh connection, and i'm not restricted in software i can use and run anything. Please recommend me the way to upload files to my ...
1
vote
1answer
178 views

Time Machine with GUI for Linux Mint for newbie

I try to find Time Machine for Linux Mint which has GUI and is easy to use for Linux newbie. Similar features which Macintosh Time Machine has. Backups entire boot drive hourly.
0
votes
0answers
28 views

Backup full drive structure, skipping one partition content

I need to backup laptop drive. But in fact what matters is not data as in my data files kept on laptop but all systems, settings, lvm and in general whole disk structure - partitioning, UUIDs, LUKS ...
1
vote
0answers
135 views

Using tar to backup and restore a path mounted with overlayfs

I have a system running OpenWRT with Linux 2.6.39.2. In my filesystem, I have symlinks contained in /etc/rc.d on ROM and more symlinks contained in /overlay/etc/rc.d in flash. overlayfs does a union ...
0
votes
0answers
65 views

linux + how to restore sdaXX.fsa files by the fsarchiver tool

I get the following files (that was backup from some Linux machine ) swap.label sda-partition-info.sfdisk sda.mbr sda1.fsa sda2.fsa sda3.fsa sda.labels sda7.fsa sda5.fsa in order to build ...
2
votes
0answers
57 views

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool ...
0
votes
2answers
65 views

How to back up a MBR

Has anyone tried updating to Windows 10 on a dual boot machine? I'm concerned that Windows 10 might mess with the MBR. Is there a way to preserve the MBR and easily restore it if Windows in fact ...
0
votes
0answers
263 views

Bash, find and delete old files

Write script for backup files and delete old: #!/bin/sh BACKUPDIR=/var/backups/files ROTATE=1 mkdir -p $BACKUPDIR CURRENT="$BACKUPDIR/`date +%Y-%m-%d`-files.tar.gz" cd /var/ && tar czf ...
-1
votes
1answer
33 views

A question for old unix gurus or simply older SVR4 users: backup output

On SYSVR4(AT&T 2.1) i want to make a backup full of /dev/root i did this bkreg -a varfull -o /:/dev/root -c demand -m ffile -d disk -t mytb1 varfull is tag,dev/root is my fs wich i want to ...
4
votes
1answer
150 views

Automatic and reliable back up of data

I have a lot of lossless music on my computer. Unfortunately, sometimes (now quite rarely) they got corrupt and I had to replace them with my backup from an external HDD. The backup was done manually ...
0
votes
0answers
86 views

The Zentyal has no backup service?

I'm use an Zentyal Linux, but I didn't found any program for I make backup. Exists for it? Thanks
0
votes
0answers
119 views

Mount Reverse-encrypted encfs backup on a second computer

I use a Mac with an encrypted hard drive. I've a lot of videos in a directory "videos", which I backed up using encfs to Google Drive. Since I don't want to encrypt the "videos" directory on my hard ...
2
votes
1answer
218 views

rsync over SSH sometimes very slow--other times maxes out bandwidth

I have a bash script set up on computer A (Mac OS X) set to run every five minutes via a cronjob. This script checks for new files on remote computer B (Gentoo Linux) then rsyncs any new files to ...
2
votes
1answer
1k views

Debian's corresponding command for add-apt-repository? [duplicate]

I want to run this in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback sudo apt-get update sudo apt-get install systemback but I cannot find add-apt-repository in Debian 8.1 and its ...
1
vote
1answer
156 views

How to start GUI of Deja Dup in Debian 8.1?

I installed Deja dup by sudo apt-get install deja-dup but I cannot find it in Search. It appears in commandline, but not like in Ubuntu like here. I did not find any GUI for deja-dup in apt-cache ...
0
votes
1answer
81 views

To backup to XFS disc by imaging and file-system level

I am interested in image the internal HDD and backup just the filesystem file as backups. My external HDD is 2TB while 100 GB is only used in my internal HDD. Both methods are welcome here. Code ...
1
vote
1answer
29 views

To recover OSX data in Debian

I have had taken backups by TimeMachine and now my Macbook Air 2013-mid finally died so I have to rescue files in Debian 8.1. However, it seems that no backups of so directories have been taken. I ...
2
votes
0answers
25 views

Specify the format of application temp/backup files in kde

Many text editors will create temporary or backup files with the format <filename>~. Because of this, folders appear very cluttered with tons of files duplicated in this way ( <original> ...
0
votes
0answers
37 views

Memory dump with u-boot on conga-QMX6

I'm starting work on a preconfigured (working) system based on conga-QMX6 (with ubuntu and u-boot). Before start changing the system I want to make a complete dump of memory for restore it if ...
1
vote
3answers
61 views

Include subdirectory from excluded directory in a tar archive

I have the root folder USA and sub-folders California and Texas. Texas is an excluded sub-folder but it has a specific file in it that I'd like to include in the tar backup. Let's call this file ...
1
vote
1answer
43 views

how to use dd to backup second linux hard drive from os x?

I have a MacBook with Linux installed on the primary hard drive. On an external USB 3.0 drive, I have OS X installed. The external drive has plenty of space so I would like to boot up OS X and make ...
0
votes
1answer
27 views

Old file deletion script

I used this script: #!/bin/sh for file in "$( find /var/backup/web2 -type f -mtime +1 -maxdepth 1 -exec rm -f {} \; )" do rm -f $file done exit 0 to delete files older than 24h from fixed ...
1
vote
2answers
47 views

Using rsync to synchronize directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup This works fine: it is copying the contents of ...