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)

0
votes
2answers
27 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
69 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
36 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
178 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
38 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 ...
1
vote
0answers
23 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
509 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
543 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
53 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 ...
48
votes
7answers
21k 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
19 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
30 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?
32
votes
6answers
38k 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
38 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
38 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
42 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
57 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
25 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
46 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
55 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 ...
4
votes
2answers
78 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
700 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
70 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
51 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
26 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
25 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 ...
0
votes
4answers
142 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
3k 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
118 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
30 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? ...
32
votes
5answers
34k 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
58 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
28 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
28 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 ...
2
votes
0answers
97 views

Copy remote btrfs incremental snapshot to new drive w/ UUID

Situation: Two machines (A & B, with local drives dA & dB) connected via slow network. Drive dA has initial backup to dB, while locally attached on machine A. btrfs send RO-snapshot-1-dA | ...
7
votes
1answer
273 views

Does rsync delete files on the destination that were deleted from the sending side?

Does rsync delete files from the destination if they were deleted from the source? For example, say in the source /home/me I have three files: a.txt b.txt c.txt Now, I run the command rsync -v ...
2
votes
0answers
181 views

How to restore a Duplicity backup from Amazon S3 on Debian?

I have applied the script provided here to backup my stuff in Debian Etch and it works, I tried to reverse the SOURCE and DEST, but I can't restore. What am I missing?
0
votes
0answers
28 views

Bulk Email backup

My e-mail server is hosted on AWS. It is running fine but every month I 'm getting more than 8GB of e-mails in my first account. I cannot delete any of the e-mails as my team need to refer back to the ...
1
vote
1answer
33 views

A open source and easy-to-use solution to Symantec Backup Exec

i need a open source and easy-to-use solution to replace Symantec Backup Exec. Basically i only make tape-based backups in a Powervault TL2000
0
votes
3answers
319 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
1
vote
2answers
3k views

Multiple source directories in duply

Is it possible to specify multiple source directories in a duply configuration file? If not is there any simple workaround?
2
votes
1answer
32 views

Compare two files, while overriding second file's size

I am trying to verify a backup that I made using the following command: dd if=/dev/sda of=/dev/sdc2 I backed up the contents of /dev/sda (internal hard drive) to /dev/sdc2 (external backup drive, ...
0
votes
0answers
24 views

Linux Image backup solutions

I want image backup solution for my three hp integrity rx2620 servers linux 4.0 based OS. Presently I am using storix network administrator v6.0. But i want individual independent backup solution.
2
votes
3answers
46 views

Is it possible to keep files on a disk partition without an OS?

I want to switch from Linux Mint to Musix. I want to backup my files and copy them after installation, but I was unable to do this because my only external medium for storage is an 8 Gb USB stick. ...
1
vote
2answers
64 views

How to check if directory is mounted on disc X and mount it if it isn't

I'm trying to write script to back my data up. I don't know much about it, so I might take a wrong approach, but what I'm trying to do is use rsync -avh several times for each directory I want to back ...
0
votes
1answer
30 views

How do I only copy files from one drive to another if the files I want aren't currently there?

I'm sorry if the title sounds a bit weird. Basically, I have a directory with a lot of images in it. I have a flash drive where I also have many of the same pictures. But let's say that I updated my ...