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)

2
votes
2answers
398 views

Add ssh user with minimum rights for backup [duplicate]

I have a small server running Debian and I want to add an account with SSH access for backups. The user of this account should have no console access. He can only transfer (backup) data via SCP ...
2
votes
2answers
423 views

Meaning of Crossing filesystem boundaries, --one-file-system, etc

I'm planning to use rsnapshot to backup my whole Linux system, though I'm confused by -x option (same of one_fs in rsnapshot.conf). The man page says: -x one filesystem, don't cross partitions ...
0
votes
1answer
155 views

Unable to backup data on DVD

I'm working on Ubuntu 13.04. I want to make backup of my data on DVD but unable to do so. To test this I'm backing up file name 'tomboy' from my current directory to DVD. ...
1
vote
0answers
120 views

dd primary partition slow transfer rate

Can someone explain me why if backup ,using dd, a primary partition to a primary partition on other disk the transfer rate (MB/s) is significantly slower compared to the the rate I have if the ...
2
votes
2answers
454 views

What is the best way to check if file has changed in Bash and keep 15 last copies of it?

What would be the best way to write a bash script and run it from cron (every hour) that: Would see if a file in a directory has changed If changed, make a copy with incrementing version number and ...
0
votes
1answer
39 views

upgrading an O.S. affects which file systems? [duplicate]

I will be upgrading my O.S. from Ubuntu 13.04 to Ubuntu 13.10. As its recommended to take back-up before doing that, I'm interested to know which file systems are affected by upgrading so that I need ...
1
vote
2answers
435 views

Incremental backup of postgresql database

We run a database server running PostgreSQL with database size of around 130GB growing at a rate of 500MB per day. We use HP Data Protector software to take backups of the database. The issue here is ...
2
votes
1answer
184 views

Is there a right way to use one VPS backup file to build a clone VPS with it?

I tried many times to restore a tar ball from a different server to a fresh installed VPS with the same Linux Debian version (exactly the same) but every time when I restore the tar ball on a ...
1
vote
2answers
168 views

How to include directory tree for back-up using cpio?

I am backing up files including directories from 1 partition to other using cpio. cpio works perfect for backing but I am unable to backup directory tree. I am in a partition mounted on the directory ...
5
votes
3answers
159 views

Entries I can safely exclude doing backups

I'm planning a backup strategy based on rsnapshot. I want to do a full system backup excluding files and directories that would be useless for the restore to have a working system again. I already ...
0
votes
1answer
532 views

Backintime Linux desktop backup to a Synology DiskStation

Backintime doesn't support plain SFTP backends so it does not seem to be easy to setup a remote backup to a Synology Diskstation (in my case a DS214 with DSM 4.3). Backintime supports SSH/rsync based ...
0
votes
1answer
37 views

back-up command `cpio` isnt working?

I'm unable to back up files using cpio. root@ravbholua-Aspire-5315:/home/ravbholua/CCPP/HelloWorld/das/das1/book/backup# ls arg_check.h compute.h quit.h ...
1
vote
0answers
78 views

What's the best way to create a backup on a linux system? [closed]

probably this a is very silly question but I want to know what is the best way to create a backup of my computer (I'd also like to save configuration files like .vimrc, etc.), I have been reading ...
7
votes
2answers
153 views

Re-installing apps after a fresh install?

I'm on Debian and I want to re-partition my drive and reinstall. Is there an easy way to restore all currently installed packages after a fresh installation? I'm thinking of doing it by making a ...
1
vote
2answers
47 views

back-up: which patitions to back-up before upgrading/reinstalling

I have Ubuntu13.04 on my laptop. I have to upgrade it to the next release or else I would install a fresh release after deleting my current system. I have already installed and configured my current ...
2
votes
2answers
72 views

Backing up a partition: doesn't reflect the status properly

With an intent to check how backing up files/filesystems works, I created 3 part itions sda9, sda10 and sda11. Please see the structure below. (Please ignore sda10 for now as I have already run ...
0
votes
1answer
28 views

Yanked USB Key During Move [duplicate]

I'm using Fedora 17. I was backing up some files to a USB key. I was foolish and used the Move command instead of copy, and before the directory I was moving completed I accidentally yanked the usb ...
3
votes
2answers
349 views

Dropbox/Copy.com & Truecrypt

I have a partition that contains all my personal stuff, which is mounted at boot under /home/myuser/foo. I would like to synchronize it on the cloud via Dropbox or Copy.com, but I don't trust them, so ...
2
votes
0answers
71 views

Make Tar Incremental Backups into One Backup?

Well, I know this question is quite strange. I have done a lot of incremental backups. It makes the total file size is too large, because there are a lot of duplicated files with similar contents, and ...
2
votes
1answer
488 views

crashplan desktop alternative?

Is there a good alternative (free software) for Crashplan for UNIX desktops? There is a plethora of backup systems out there, but there doesn't seem to be one that rivals with Crashplan. The ...
2
votes
0answers
154 views

easy rsync solution with file manager (thunar or nautilus or…)

A common tasks I teach new users in UNIX is how to make backups. Since most are not comfortable with the command line (CLI) and I want to have them make backups (more than forcing them to use the ...
3
votes
3answers
462 views

Best practice to backup a LUKS encrypted device

What's the fastest method to backup and restore a luks encrypted device (e.g. a full encrypted usb-device to a image-file). The usb-device can be decrypted/accessed. I'm looking for a solution to ...
0
votes
0answers
231 views

Sending emails from AutoMySQLBackup from Linux Mint

I have set AutoMySQLBackup on a Linux Mint machine and I want to have the backups sent to an email, but I cannot make it work. I'm new to Linux environment and don't understand it very much. I ...
3
votes
2answers
331 views

how to include or add /dev with tar --one-file-system

I'm running tar on a complete remote filesystem using ssh -n <hostname> 'sudo tar -cpvzf - --one-file-system /' | cat > Bak.tar.gz This gave me a tarball. I tried importing this tarball ...
0
votes
1answer
430 views

How to check whether my cron job for backup using tar was succesfull [closed]

I have a cron job to tar backup websites and databases and upload the backup to a NAS. Instead of checking the tar files on the NAS. Is there any way to check if the tar backup process completed ...
3
votes
1answer
131 views

Snapshot large changing files

At home I have the following backup scheme: All machines daily rsync to the servers $FULL_COPY directory. The server takes snapshots of that directory daily (also weekly/monthly), keeping at most X ...
0
votes
1answer
150 views

Periodically sync local folders using rsync (no symlinks!)

I am using Dropbox to have an online backup of some data. However I want to encrypt my data before uploading it to Dropbox. Therefore I have created a TrueCrypt container and I am using rsync to ...
4
votes
1answer
131 views

What is the difference between a tar of a complete filesystem and an image?

I can create an image of a filesystem, or I can create a tar-file containing all of it. Is an image therefore something like a tar-archive? Or do these two types differ in more ways?
1
vote
1answer
209 views

How to use redobackup without free partition

I had a spare 250GB drive a while ago from an old Windows Vista computer. There wasn't much data on the drive. I wanted to use it for a new OS in my computer, and I was in a rush to use it, so I ...
3
votes
1answer
195 views

ecryptfs mounted via command line, what do I need to backup?

I asked this question on the ecryptfs launchpad, but it expired there without answer. https://answers.launchpad.net/ubuntu/+source/ecryptfs-utils/+question/235226 It might be trivial, but I really ...
10
votes
4answers
6k views

rsync all files of remote machine over SSH without root user?

I have this command to backup a remote machine. The problem is that I need root rights to read and copy all files. I have no root user enabled for security reasons and use sudo the Ubuntu way. Would I ...
2
votes
2answers
40 views

Find: who write backups

I have some daemon which writes Mongo and MySQL backups to the directory /opt/BACKUP, but I dont know - what kind of daemon, when it works and where i can find its settings? These files are in the ...
5
votes
1answer
1k views

Is using rsync while source is being updated safe?

Is it safe to use rsync when the source filesystem is mounted and writeable, assuming that it may very well be modified while rsync is running? I presume that under race conditions I may not get the ...
2
votes
2answers
129 views

Any reason not to use LUKS on a backup drive?

I have my hard disk encrypted with LUKS, but I make regular backups to an unencrypted external harddrive. Is there any reason I shouldn't setup LUKS on my backup drive as well? Obviously, the big ...
5
votes
0answers
277 views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file ...
2
votes
2answers
438 views

Debian 7.1: duplicity error when using gdocs backend

I've installed duplicity backup tool plus python-gdata library on my debian 7.1 amd64 system. When I want to use duplicity to store my documents on Google Drive, it shows this error after asking for ...
1
vote
1answer
108 views

What file systems support taking snapshot backups from a live system?

What file systems allows me to take a full snapshot of a full live partition, while active, in a state where all files have the same state as when the backup/snapshot process start ? I want to be ...
3
votes
0answers
99 views

How to create an installable liveCD backup of my system (keep all installed packages but not home directories)

What tool should be used to do this? I have taken a look a remastersys but the image it generated wasn't installable. (I could just boot it, and login, although all my packages were installed). If ...
1
vote
2answers
36 views

Reverse rysnc with multiple sources

I'm working on some backup script right now. To speed the process up I used rsync with all folders to be backed up. (Something like this: rysnc -a --delete --progress $folder1 $folder2 $folder3 ...
4
votes
3answers
2k views

speed up gzip compression

Is it possible to speed up the gzip process? I'm using mysqldump "$database_name" | gzip > $BACKUP_DIR/$database_name.sql.gz to backup a database into a directory, $BACKUP_DIR. the manpage ...
1
vote
2answers
100 views

Backing up a large file

I have a test running which crashes. I need to find out how far it reached before crashing. It will restart again after crashing and wipe the log file. This wiping takes 10 minutes though. So If I'm ...
1
vote
0answers
14 views

Combining rsync --files-from with --delete [duplicate]

I'm doing rsync --files-from=find-output.txt ~/backup/ (simplified). I'm trying to add --delete, to make rsync delete files in backup that are not included in the file list, but it does not delete ...
0
votes
1answer
105 views

Options to sync 16GB+ KVM images

Is there a software that sync KVM images in real time on ArchLinux? i have 2 HDD that configured as RAID-0 (for performance reason) and 1 HDD for backup i want to have a real-time backup images on ...
2
votes
1answer
50 views

Compare a filesystem to a dump

Is there a way to compare the current state of the filesystem to that stored in a backup created by dump? I recently had some major corruption in the filesystem and my most recent backup is from ...
1
vote
2answers
101 views

Figuring out installed packages on Ubuntu from filesystem backup

I have a full filesystem backup from my Ubuntu box, and my OS disk crashed. Is there a way to list all installed packages (like dpkg -l does but) from the backup? The logfiles are not an option as ...
0
votes
1answer
59 views

Get the most recent backup files [duplicate]

I'm googling for this, but the terms are so generic I'm getting way too many false positives, so what the hey, I'll ask here. I'm sure there's a simple answer but I don't generally script in *nix. ...
2
votes
2answers
106 views

Do files not copied matter when using rsync?

I have used rsync to back up my / directory to an external hard drive, using this command in user (not su) mode (about 200,000 files copied in one hour and forty minutes) and it seemed to finish ...
2
votes
3answers
222 views

Installed software back-up

I have Linux Mint 15 Mate installed on one PC and I am currently updating it and installing necessary language packs, software, etc. After full set up can I back-up the entire system and restore it on ...
1
vote
2answers
860 views

Which filesystem to backup is the best? [closed]

I just bought a disk to backup all my documents and to store it apart and I don't know what is the filesystem under Linux that gave me better reliability. Maybe I'll backup one time each month and it ...
3
votes
1answer
66 views

Edge cases in filesystem operations during backup and file copy

I have a question about file access in Linux that I cannot sum it up completely. Consider that I have a home directory that I backup it using rsync triggered via cron. My home directory is on an EXT4 ...