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
2answers
1k 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
39 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
38 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
26 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
54 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
235 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 temp.txt~....
1
vote
1answer
97 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 ...
4
votes
0answers
17 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
26 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
45 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 anymore:...
4
votes
2answers
198 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
54 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
32 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 * user@backup-...
0
votes
0answers
36 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
139 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 ...
0
votes
1answer
57 views

Fresh Debian install. What files do I restore from a backup?

I just installed Debian 8.2 Jessie fresh on a new machine. I ran tar -zxvpf myBackup.tar.gz to extract folders from a backup from my old machine, which also ran Debian 8.2 Jessie. The folders I ...
0
votes
1answer
216 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 ...
1
vote
1answer
58 views

TSM refusing to back up subdirectories on one partition but not others

I'm having the problem where TSM refuses to recurse into subdirectories on my / partition. This does not apply to my other partitions, where it does recurse. This is independent of my include/exclude-...
1
vote
0answers
55 views

Btrfs - Using Flash Drive as Backup/Snapshot Location

I am working on a project where I have a small MiniITX PC running Debian Jessie (8.3) When I installed the OS initially: I chose the filesystem as btrfs. I am not using LVM or any extra partitions ...
1
vote
2answers
647 views

Backup system image.

Is it possible to create an image backup of my installed linuxmint. I would like to be able to have a restore image to reinstall Mint as I do with windoes system image backup (for instance). In ...
8
votes
3answers
648 views

How to back-up one big file with small changes?

If a set of files (several GBs big each) and each changes slightly every day (at random places, not only information appended at the end), how can it be copied efficiently? I mean, in the sense that ...
2
votes
2answers
128 views

Is there any way to fully encrypt my hard-drive AFTER an installation of Linux Mint?

I'm askin myself, is there any software who can encrypt my whole hard drive with Linux Mint 17.3 on it AFTER the installation? Like TrueCrypt for Windows?! If not and I've to reinstall everthing is ...
0
votes
0answers
28 views

Mount directory elsewhere with different permissions [duplicate]

I would like to be able to mount a directory (i.e. /home/user1) to a different location on the same disk (i.e. /mnt/user1_home), but with different permissions so that the mount point (/mnt/user1_home)...
50
votes
7answers
23k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
-1
votes
1answer
27 views

Fedora 22 rsync on root vs package reinstall

I know that backup issues are heavily queried, but I am looking for problems that experienced Linux users have encountered, re the 3 issues shown below. Unfortunately, these (long winded) issues ...
0
votes
1answer
38 views

What is the switch or option of rsync command inorder to skip the backup of corrupt files? [closed]

What is the switch or option of rsync command inorder to skip the backup of corrupt files so that it does not overwrite good files?
39
votes
6answers
42k 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
1answer
77 views

Taking and restoring an image of partition with dd

I created a new partition on my server /dev/sda4 with a filesystem based on ext3. I mounted the new partition /dev/sda4 on /mnt/sda4/ and created an image with dd of the partition /dev/sda3. sda3 is ...
2
votes
2answers
60 views

Change owner for backup file generated by backupninja

I'm using BackupNinja on Raspbian Jessie Lite to create a scheduled backup of my SD. The backup job is configured as a simple TAR file backup. The default permissions on the generated backup files ...
0
votes
1answer
55 views

How to “Find” then “Rsync” then “Tar/gz” on destination host?

I have a Cassandra node with snapshots broken up into 64 directories with over 350 files per directory. I want to "find" all snapshot files, preserve their location, rsync them across to a host with ...
3
votes
3answers
98 views

“write-once archive”: ext2 vs ext4^has_journal vs

summary Suppose one is setting up an external drive to be a "write-once archive": one intends to reformat it, copy some files that will (hopefully) never be updated, then set it aside until I need to ...
1
vote
1answer
39 views

rsnapshot default root directory seems wrong

I'm running openSuse 13.2. In the config file, /etc/rsnapshot.conf.default, there is the following entry: snapshot_root /.snapshots/ rsnapshot has never been run. Yet in /.snapshots there are a ...
0
votes
1answer
51 views

Backup a 50Megbyte ubuntu linux subdirectory tree to a LG Ultra Slim Portable DVD Writer

I would like to backup my 50 megabyte home directory /home/frankc on my Ubuntu Linux 14.04 LTS desktop Lenovo computer using a LG Ultra Slim Portable DVD Writer. The directions for the LG Ultra Slim ...
1
vote
4answers
57 views

File permissions on data backups

After making a rm related mistake on some of my files (which was fine because I have backups), I started thinking on how I could limit myself to making such mistakes. I have not done anything with ...
5
votes
2answers
92 views

rsync delete only excluded files

rsync option --delete-excluded implies --delete as well. From man page: --delete-excluded In addition to deleting the files on the receiving side that are not on the sending side, this tells ...
2
votes
1answer
1k views

how to copy or backup files ignoring dot files

I want to back-up all files from my laptop partitions to external HDD. I ran, for example cp -a /med*/ravb*/*00 /med*/ravb*/M*L*/7.3GB_CP && echo "7.3GB BACKED UP PROPERLY" || echo "7.3GB ...
0
votes
1answer
133 views

Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?

On my old Ubuntu system (the one I'm trying to restore to) I had a boot partition /dev/sda1, my main OS partition /dev/sda2, and a swap partition /dev/sda3. I mistakenly formatted over /dev/sda1 ...
2
votes
1answer
67 views

Is there a way for a dd of a 80 GB hard drive to be minimal in size?

For backup reasons I need to use dd to copy a whole hard drive (including MBR, partitions,...). The hard drive is 80 GB in size where only 1.8 GB are used. The command I'm using is the following: dd ...
1
vote
1answer
29 views

Speed up backup in case where a partition has lots of free space

I'm trying to make a backup of a block device (Raspberry Pi sd card) using dd. Command used: sudo dd if=/dev/sdb of=rpi-backup-image bs=4MB where /dev/sdb is the unmounted RPi sd card. The amount ...
0
votes
1answer
26 views

Not able to see the backed up file in the backed up media

I used 2 commands cpio and tar to perform the same operation of backing up data to an external drive which is my 8Gb pen drive (sandisk brand). At the time of executing the commands, it outputs ...
0
votes
2answers
26 views

Does the untarred folder overwrites or appends the contents of the original folder? [duplicate]

I have a x.tar.gz as a backup which has the following contents: .htaccess a.html b.html c.html x.html I have also a ./x directory, already existing, which has the following contents: .htaccess a....
0
votes
3answers
273 views

MBR size is 440 bytes or 512 bytes

I remembered reading one question how would you back up the MBR of a disk. Two of the choices are dd if=/dev/sda of=/dev/sdb bs=512 count=1 dd if=/dev/sda of=/dev/sdb bs=440 count=1 and the ...
2
votes
4answers
4k views

How are filesystem snapshots different from simply making a copy of the files?

by doing this, # btrfs subvolume snapshot /mnt/1 /mnt/1/snapshot # tree /mnt/1 /mnt/1 ├── a ├── snapshot │ ├── a │ └── subv └── subv └── b 3 directories, 3 files We can create snapshot ...
3
votes
2answers
120 views

Make Tar Incremental Backups into One Backup?

Well, I know this question is quite strange. I have done a lot of incremental backups. Now the total file size gets too large, because there are a lot of duplicate files with similar contents, and ...
-1
votes
1answer
38 views

rsync backup not creating any files

I am trying to run rsync to back up my file system to an external flash drive. It finishes almost immediately, and no files are present on the flash drive when I view it. What am I doing wrong? king@...
34
votes
5answers
38k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
1
vote
1answer
78 views

Secure way to back up systemd logs

I have arch linux installed on a raspberry pi and want to start backing up my logs regularly to some external write-once media. It'll probably be a CD, but I'm not sure yet, and it will probably ...
0
votes
1answer
30 views

How can I backup all my software in files to reinstall on another Linux system?

Is there a way to backup all my programs, software, maybe even libraries and their data on a Linux system like it is for apps and their data on rooted Android with TitaniumBackup? I'd like to backup ...
0
votes
0answers
34 views

Deja Dup restore overwrites original file dates?

Deja Dup restored data but all files are erroneously marked created today. Any way to restore files with original creation dates? Thanks!
-1
votes
1answer
34 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 ...