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)

1
vote
0answers
15 views

How to copy or restore OS via apt package-list? [duplicate]

I want to find a way to backup my system in the manner of storing a list installed packages. I want to be able to reproduce my setup for the case of a reinstall or automatically provision a VM with ...
3
votes
1answer
52 views

Create a bootable clone in Linux

I have a working Linux system (Centos 6.7) which I would like to clone to a bootable hard disk. The hard disk is also internal. The purpose of the clone is for disaster recover as well as to allow me ...
1
vote
2answers
54 views

Behavior of rm - how to prevent deletion of mounted points contents

There is a way to prevent rm from deleting mount points? For example, if I have /mnt/backup mounted externally and someone runs rm -rf / I know it will delete the backup contents. My solution is to ...
1
vote
1answer
78 views

How to backup files with only a minimal rescue system?

I only have access to my vserver via a minimal rescue system over ssh. It does not have scp or ftp installed. Is there an easy way to backup the files, preferably directly to an ftp server, but to ...
6
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 ...
0
votes
1answer
64 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
53 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
63 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
30 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 ...
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
84 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 ...
1
vote
1answer
83 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
35 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 ...
4
votes
0answers
38 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 ...
0
votes
0answers
21 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
28 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 USER=...
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
19 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
9 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
56 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 ...
4
votes
1answer
41 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
565 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
20 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
43 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
84 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 ...
1
vote
0answers
21 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
44 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
2k 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
45 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
29k 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
10k 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
44 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
95 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
62 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 ...
44
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
34 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
106 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
16 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
59 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
36 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
55 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
33 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
65 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
41 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
9k 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
238 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 ...
0
votes
0answers
24 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
47 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: https://wiki.archlinux.org/index.php/...
0
votes
1answer
48 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 ...