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)

4
votes
1answer
4k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
1
vote
0answers
9 views

How to reconfigure grub on a backed up arch linux on a USB flash disk

i managed to back up my arch linux suing rsync : # rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /run/media/username/archlinux edited ...
1
vote
0answers
19 views

systemd timer running rsync at 3am and stopping at 6am

How to make a systemd .timer , that starts rsync A U@H:B at 3am and stops (e.g. kill -TERM) at 6am on weekdays ? Do I have to make one that starts at 3am, and second that runs kill at 6am and for ...
1
vote
1answer
1k views

rsync “Permission denied” despite ownership

I just rsync'd a bunch of files, from a Windows box running cygwin sshd, to a CentOS 6.4 box. I ran rsync -e sshd... on CentOS to do this. Then I plugged in a USB drive on the CentOS box, formatted ...
0
votes
1answer
16 views

How to configure gpg-agent to work correctly with obnam?

I'm trying to set up the de-duplicating backup program obnam so that it backups encrypted chunks on a remote server (raspberry pi B3 through ssh with USB hard drive) but can't get it even starting to ...
1
vote
0answers
11 views

lftp mirror local directory to remote ftp server without deleting remote files which are missing locally

I have the following command: lftp -e 'mirror -R /local/backups /' -u username,password ftp://FTP_SERVER this works fine, until I started cleaning the /local/backups folder. I'd like to upload new ...
3
votes
0answers
33 views

How to shard file into n-out-of-m redundancy (kind of reed solomon)?

How to shard file file into m files, so it can be recovered with any n of them ? It's like Reed-Solomon error correction (sth more flexible than RAID6) style of redundancy. Early findings: I've ...
11
votes
1answer
27k views

how to tell rsync to preserve time stamp on files when source tree has a mounted point

Related to this question Short description of the problem: When source tree has a mounted point inside it, then time stamps on files inside that mounted point when copied to target tree are not ...
0
votes
1answer
2k views

Got fatal error during xfer (Child exited prematurely)

I have a backup server which takes backup of other servers and in few days back the backup server started experiencing error and the not able to take back. I think the error log bellow could describe ...
5
votes
1answer
9k views

Openldap backup restore

I am trying to setup backup and restore and make sure it works. Please note that database size on ldap.old is lot more then the ldap. The /var/lib/ldap.old is my existing database. I have renamed ...
1
vote
1answer
36 views

Fast filesystem for virtual backup environments

I know filesystem supporters war is behind the corner and there are plenty of fine tuning guide for each filesystem in the wild, so please stick to the specifications: I'm asking what would you ...
1
vote
3answers
51 views

Git Backup /home with other repos inside it

I'm trying to make an automated backup of my /home directory. In theory this is simple by running this in a cronjob: cd /home git add . git commit -m "nightly backup" git push where push will push ...
2
votes
1answer
1k 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
39 views

backup and restore whole disk

I am using iMac, with GPT and Hybrid MBR partition table. the GPT layout is: EFI partition.(FAT32) Windows 7 partition.(NTFS) MacOS partition.(HFS+) Linux.(ext4) data.(exfat) the hybrid MBR is ...
42
votes
9answers
14k views

Easy incremental backups to an external hard drive

For a while I used Dirvish to do incremental backups of my machines, but it is slightly cumbersome to configure, and if you do not carry a copy of your configuration it can be hard to reproduce ...
1
vote
1answer
27 views

How to force low ssh-encryption

I regulary backup my computer to my BananaPi with a Hard Disk connected. The Problem is, that the transfer speed over ssh is pretty low because the Pi can't handle AES 256 encryption quick enough. ...
0
votes
1answer
849 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 ...
1
vote
1answer
20 views

Allow the restricted rsync (rrsync) script for arbitrary directories with authorized_keys

Automating Backups I would like to implement a backup solution with copies data from various directories from a Web server (WebServer) to a local backup server (BackupServer). The backup should run ...
0
votes
1answer
13 views

Arch linux; changing fstab for bootable backups

I am trying to setup a fully bootable Arch backup by following https://wiki.archlinux.org/index.php/full_system_backup_with_rsync I am having a little trouble understanding the example "Update the ...
1
vote
2answers
37 views

Backup with rsnapshot only if there are changes

I use rsnapshot to make regular backups of my systems' filesystems to a remote server. (For those familiar with rsync but less used to rsnapshot here is a brief introduction to its workings. A backup ...
0
votes
1answer
29 views

How can I make a full backup of a hosted Linux server

I want to rent a sever at Vultr for some sever side programming using Mono. I'm quite new to Linux. Despite knowing that Hosting companies care about server security I want to make sure to be able to ...
1
vote
4answers
7k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
1
vote
0answers
47 views

Does a file move operation over SAMBA preserve the inode number?

If I have a directory exposed over a SAMBA share and a user, from either a Linux or Windows system, moves a file from one place to another on that share, does SAMBA know to ask the operating system ...
1
vote
0answers
30 views

Is there a way to interleave two filesystems of the same structure?

I have a large networked file system whose backup routine sees some file systems as higher priority than others and are given more redundancy with backups. At present those file systems are visible as ...
0
votes
1answer
917 views

linux tar listed-incremental untrustworthy

I'm looking for some way to troubleshoot incremental backups with tar on linux. I've got huge datasets (about 3TB) that need backing up to tape. For this I use the linux tar command and mt / mtx on ...
8
votes
1answer
881 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 ...
3
votes
0answers
41 views

Speed up / avoid calculation of rsync file lists

I use rsync 3.1.1 to keep in sync two discs, one of which is on the network and mounted as a samba share on /mnt/ROUTER_WD_2TB/. This is the source, with a speed of 30-40MB/s maximum due to network ...
0
votes
0answers
20 views

Corrupted netatalk time machine drive

I wasn't sure, whether it fits this section. If not, please let me know by commenting and I will move it to other, more suitable section. My home nas, which is running debian jessie, is configured to ...
13
votes
6answers
7k views

SSH automatic remote back ups

I have two machines, A and B. Machine A can ssh into B. A has a lot of free space. B's data is in a sort of risky situation. How do I back up all of B's data to A automatically. It does not have to ...
0
votes
2answers
116 views

Mitigating Cryptolocker grip on shared SAMBA server

I have a client who was recently hit with a very new variant of Cryptolocker. Unfortunately the user who got hit had a high level of access to the system. Apparently there is no educating some ...
12
votes
5answers
8k views

What directories do I need to back up?

What are the directories one should back up, in order to have a backup of all user-generated files? From a vanilla debian install, I can do enough apt to get the packages that I want. So if I don't ...
0
votes
0answers
21 views

swap goes the second drive, how can I return it to normal from command line?

The following is my plan for partition of CentOS 6.7. I have two disks with A for system and files, B totally for backup. But, after installation, I log in using ssh root. Here is what I see: ...
1
vote
1answer
30 views

How to set up permissions on external hard drive in order to use it to backup using rsync?

So I have recently installed arch linux, and I was looking into a good way to back up my data. Looking at the wiki, I decided I followed this gude: ...
0
votes
1answer
31 views

Back In Time does not show (encrypted) snapshots on new machine

I'm using Back In Time 1.1.12 in elementary 0.3.2 (based on Ubuntu 14.04) to backup my home folder to an external hard drive. Seemed to work fine so far. Now I've bought a new computer and installed ...
2
votes
2answers
2k views

Send backup by email with crontab

I use this cron job to do a backup of /home/blah/ each day at 01:00 a.m. : 0 1 * * * tar -zcf /home/blah/backup.tgz /home/blah/ In fact I would prefer that an email is sent to me with the .tgz file ...
3
votes
2answers
896 views

Deduplication tool for rsync?

Is there a Linux / Unix tool that does de-duplication similar to the way Veeam does it before compressing and sending a backup with rsync to a mirrored location?
0
votes
1answer
21 views

Backup mysql database via sftp

I have recently messed up my debian server and I have only sftp access for my files. I rescue almost everything except of my database. I have no longer direct ssh access, other than in rescue mode, ...
5
votes
1answer
23 views

prevent backup from running in parallel

In my script /usr/local/bin/backup, that I call every hour from /etc/crontab, I use rsync to copy data to an off-site server. That all worked fine, even in cases where we had somewhat more new data ...
-2
votes
1answer
21 views

backup from server to computer (SSH)

First of all I am newbie at SSH. Could you tell me, how can I backup files from remote server to computer storage disk? I use Windows and program PuTTy to connect to server through ssh. Can you write ...
0
votes
1answer
20 views

How to reset a corrupted backuped file with Duplicity?

When a Duplicity incremental backup is interrupted, some backup files may be corrupted, and cannot be recovered later on (even if new incremental backups are done after the interrupted one). Those ...
5
votes
6answers
224 views

Is it possible to have more than just one backup when editing text files?

Gedit and medit are two text editors that I know of that allow me to save a backup. So, if I create a file called temp.txt the next time I edit it and then save it, I'll have a backup called ...
1
vote
1answer
50 views

Restore Back In Time From Ubuntu To Debian

I used Back In Time (BIT) to back up my data to an external USB drive on Ubuntu 12.04. After problems with Ubuntu I made a fresh install of Debian 8.3. In Debian I have installed BIT and can see the ...
3
votes
0answers
12 views

Looking for a way to backup/mirror a drive by swapping

I want to duplicate a drive. I am unable to hook up both the old and new drive at the same time (the old powerbrick died; so I have one powerbrick to swap between two drives). In years and years ...
0
votes
1answer
19 views

how to mirror a samba folder into an ext4 folder via rsync?

I have a FreeBSD file server and I also have just setup a xUbuntu 15.10 desktop. The desktop was previously running OS X but I backed up my files to the FreeBSD server before installing xUbuntu. ...
0
votes
1answer
42 views

What should I backup?

I have backups from a couple of old desktop/laptop installation - most of which do not exist anymore. Which of the following folders or files can I savely remove because I will never need them ...
4
votes
2answers
177 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
31 views

Multiple Ubuntu Server Backups

I am soon to be dealing with multiple Ubuntu 14.04 Server Installations, none of which I will have physical access to. Some will be Digital Ocean Droplets, and some Mini-Server builds. I will have ...
0
votes
2answers
26 views

Backup remote data as root

I want to backup all data from a server before I do an Upgrade (Debian). Due to the fact, that there are many user accounts on the server, I thought I just copy all data with scp (scp -r * ...
0
votes
0answers
24 views

Fedora 22 recovery by package re-install

In case of hard disk failure, I want my recovery to (ideally) re-create the pre-hard-disk-crash environment. After researching backup strategies for my Fedora 22 home pc, I've decided to only use ...
1
vote
3answers
60 views

File System Permissions: User who can backup all files

I am setting up an automated backup job for some computers on my network. There is a server that will, daily, run an rsync command to backup each of the other computers. I'd like the user that the ...