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)

8
votes
2answers
921 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 ...
1
vote
1answer
29 views

Image backup with deleted files [duplicate]

I have accidentally deleted some files. With rm. It seems recovery is not so easy on Linux. Is it some way I can do a image backup including the lost files (If they still exist)? I should know the ...
0
votes
1answer
27 views

Resumable transfer for btrfs send

I am planing to backup data via sending btrfs snapshots to an online storage. The storage is mounted as a LUKS encrypted container file on a cifs share. Later transfers will be reasonably fast, but ...
1
vote
1answer
29 views

Restoring file system using tar causes login loop

Note: I am doing this to learn more about linux. I understand there are other tools that can be used with simple interfaces. Note: I am using Fedora 23. I have it installed physically on an SSD and ...
4
votes
4answers
56 views

Most efficient way to thin out a backup which uses hardlinks

I have a backup disk which contains hundreds of backups of the same machine from different dates. The backup was made with rsync and hardlinks, i.e. if a file doesn't change the backup script just ...
2
votes
2answers
23 views

Save a perfect configured desktop

I'm wondering how I can persist my perfect configured desktop system. I have - installed a fresh new debian - installed all my applications and tools I need (from vim to eclipse) - override my ...
-1
votes
0answers
18 views

anacron — First daily boot > BackInTime

I'm seeing anacron at class and I didn't really undestood it so much. Now I have an exercise to execute a Back up at BackInTime 5 mins later of the first daily boot. How can I accomplish that?
0
votes
0answers
19 views

Clone Linux installation [duplicate]

I have 2 servers, one is brand new with noting on it and 2nd one has everything set up (postfix,dovecot,db,nginx etc..) and I'd like to copy entire image from server 1 to server 2. Is such thing ...
3
votes
0answers
23 views

Sync with Onedrive

I would like to sync (and backup) my /home directory with OneDrive. I found some great terminal clients, where you can even mount your directory, but nowhere did I found an option to this with some ...
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 ...
1
vote
1answer
23 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 ...
0
votes
1answer
33 views

Full system backup with dd include symlinks

I'm really new in unix and Linux and just tried to learn something. My question is how can I make full system image/backup with dd include symlinks? Is dd good or I should use another approach? Can ...
6
votes
1answer
906 views

Rsnapshot destination full - how to safely rerun?

I ran my Rsnapshot backup today but my external drive became full half-way through the incremental backup (I have about 20 incremental backups now). rsync: write failed on "<path>": No space ...
0
votes
1answer
879 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
0answers
28 views

Programmatically breaking all files in directory along size boundaries?

Okay, so I have a directory that has lots of files in it. These files are highly-compressed archives of documents, and I want to store these to a set of DVDs. That is, I want to have each archive on a ...
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 ...
0
votes
0answers
16 views

Windows backup, bootable recovery media, and bootable ubuntu media on same flash drive

I'm going to install Ubuntu side-by-side with windows 10 and I'm seeing lots of advice to back up windows onto a system image. Moreover, it looks like to be able to restore that image if something ...
1
vote
0answers
26 views

Back up script causing issues

I've got this backup script I'm trying to use and I'm having issues with it. #Setup Variables DOMAIN=domainexample.com FILENAME=${DOMAIN}.$(date +%Y%m%d) DBSERVER=localhost DATABASE=databasename ...
2
votes
2answers
8k views

Create .tar.gz from a directory omitting some subdirectories and add only new or changed files

I need to create a script, maybe bash, maybe just a .sh that checks for files changes on a root directory and sub-directories of the root, and adds to a new file. The tar.gz file name should have the ...
1
vote
0answers
13 views

systemd: gracefully fail backup when external disk not plugged in

I have a backup setup where I use systemd timers to do hourly, daily, weekly, and monthly backups. Each timer unit triggers a service that runs the backup script. The backup service units are of the ...
0
votes
1answer
8 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
4
votes
0answers
46 views

How to shard file into n-out-of-m redundancy (erasure code e.g. kind of reed solomon)?

How to shard file file into m files, so it can be recovered with any n of them ? It look like Erasure Code, preferably "optimal erasure codes". (Example of another application and proposed ...
1
vote
1answer
991 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 ...
4
votes
1answer
32 views

Tar directory into independent archive files no larger than a certain size

I have a directory containing many files. Together, these files take up several gigabytes of space. I'd like to compress this directory. But compressing the directory into a single file will make ...
0
votes
2answers
541 views

How to take incremental backup in tape drive

I am having 1 tape drive and I want to take incremental backup of 5 folder to the tape drive on every Friday. But the location of the five folders are on one server and the LTO mounted on a different ...
0
votes
1answer
19 views

Server Upgrade from CENT OS 4 to 6

I will be updating my server since CENTOS 4.x is not supported long time ago. I really don't have any idea how to proceed and I have been searching how, but I can not understand since It is ...
1
vote
1answer
36 views

How to backup files in multiple directories with git?

The example below is simplified to show the core of the problem, not the problem itself(my file tree is more complicated than that). Let's say that I have two files I want to back up; one in ...
3
votes
4answers
68 views

du --exclude directories - is this possible?

How to calculate disk usage of a file tree but excluding directories. I'd like to have something like: du --exclude type d I use rsync to mirror/backup part of my home dir and I want to double ...
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
16 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
31 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
25 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 ...
11
votes
1answer
28k 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 ...
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
40 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
68 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
47 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
15k 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
31 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. ...
1
vote
1answer
42 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
15 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
46 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
32 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
0answers
49 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
32 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 ...
3
votes
0answers
46 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
30 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
8k 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 ...