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
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
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
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
4answers
133 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 ...
-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? ...
1
vote
1answer
57 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!
2
votes
0answers
96 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
270 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 ...
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
32 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
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
23 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
62 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
28 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 ...
1
vote
0answers
76 views

Restore errors: “bad header/extent: invalid magic - magic 1701”

I'm testing these instructions to restore a backup image to an Intel Edison from a previous .img image. The backup line was: dd if=/dev/mmcblk0 of=sd/ubilinux_image.img I removed a file (to see if ...
0
votes
0answers
42 views

ZFS Snapshots and low space on zpool

I am trying to backup every hour my zvols. I am using zfs for virtual servers on Proxmox VE. I made myself script, which runs snapshot every hour and then send it to offsite backup, then bookmarks ...
1
vote
1answer
39 views

how do i make a script to generate a gpg backup saver?

Im making a little backup script that includes the function to encrypt the backup. The script runs automaticly with a cronjob. So the password for gpg is in a File. Its just a textfile. How can i ...
1
vote
2answers
65 views

Automatic and secure file transfer over two servers

the problem is how to automatically transfer backups from server A to server B in the best possible way in terms of security? Here is what comes to my mind: authorize server A pub key to access ...
0
votes
1answer
33 views

How to backup /user/home with some requirements?

I'm currently studying scripting and I need to create an script to back up the /user/home using .bz2 compression. My teacher wants the person running the script to select the user to backup and the ...
0
votes
0answers
30 views

ARJ under GNU/Linux

I'm using ARJ compressor under GNU/Linux system to backup mostly FS with a size of 600 GBs aprox., and very large number of files. I'm not using compression, only store with split of 50GB volumes. ...
0
votes
1answer
24 views

Script for backup each DB on server but omit system databases

I have read a lot of post around this topic but I didn't found the one to fit my needs. So, basically I want to make two backups: one at mid day (12 PM) and the other at midnight (12 AM) for each ...
1
vote
2answers
85 views

Random files selector in filesystem

Context : In order to test some backup process which are supposed to work all nights, i want to select a random files on a large amount of datas. (Around 7 millions of files. This is a NFS server with ...
0
votes
0answers
38 views

Extract and backup Springseed notes

So i have installed springseed on a linux system and I was wondering if it is possible to extract the notes i am making in the program so I can backup the notes and not have to do it in dropbox.
0
votes
0answers
92 views

how do you back up files with a time stamp

How do you create a script to backup all log files (assume multiple files) into a directory called Backup/Logs ? The backup file must be date and time stamped. The backup must be compressed. The ...
2
votes
1answer
73 views

how to do version-specific backup/restore of Debian packages?

summary Note version-specific in the question title! This question is not, how to On one Debian host, capture a list of all installed packages. On another Debian host, install the latest versions ...
-1
votes
1answer
24 views

Physical Backup of Maria DB as a snapshot using LVM

I have a SQL database which I want to backup as a snapshot. I want to use LVM to do so, but I am not able to do it. Also my database is not stored in a LVM partition but its located in my /dev/sda2 ...
1
vote
1answer
25 views

What happens if rsync is scheduled to do backup, but remote location is unavailable?

I'm thinking of creating a sync/backup routine with rsync for some crucial files between my Desktop computer and Laptop. The point is not to use a Cloud service. I would set up an automated schedule ...
1
vote
5answers
985 views

rsync keeps disconnecting: broken pipe

I'm using rsync to backup my home directory. This has been working fine for a long time now. Here's the command I'm using: rsync \ -pavz \ --delete \ --exclude 'mnt/' \ --exclude ...
1
vote
2answers
178 views

What's the differernce between differential and incremental backup in terms of rsync command?

I use the following rsync command to backup my local folder ~/dir1 to a remote backup server: rsync -a ~/dir1 username@remote_host:destination_directory As per my understanding it's incremental ...
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 ...
1
vote
1answer
65 views

Preserve date modified on directories / folders with rsync

I am trying to backup a failing hard drive and rsync would be ideal due to the features it has such as progress indicator and ability to stop and resume. The one issue I am having is that while file ...
-1
votes
1answer
205 views

How to take a directory or file backup using command?

I have uploaded my file there will be a daily changes in that file for safer side i want to take backup that directory,when i tried copy that folder to another it is showing whenever i have created ...
1
vote
1answer
108 views

Incremental backup script (shared hosting)

Please consider I'm not sys admin so I have only limited experience with the tools involved, I know there are similar question but I cannot find anything that suit my needs. In a similar question ...
1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
67 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
3
votes
1answer
48 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
3
votes
1answer
38 views

cp command which partially resolves symlinks

Is there an easy way to copy a directory recursively where symlinks to external files/directories are resolved (target file is copied), but internal symlinks (pointing to files inside the copied tree) ...
1
vote
1answer
89 views

rsync with --link-dest options doesn't create hard links [closed]

I created a backup script that should create incremental backups every day and a full backup once a week from a remote host to my external backup hard drive. (short example at the bottom) The script ...
3
votes
4answers
158 views

Archive the oldest file, where files are named according to their timestamp

Context I have backup scripts running which create tar.gz files and transfer them to a dropbox folder on my headless linux VM. Problem I do not know how to create a script which will detect the ...
0
votes
2answers
975 views

How to backup and restore to different hardware in Linux? [duplicate]

I am running Fedora 22 on a Dell Laptop. I plan on migrating to a desktop soon which will also run Fedora 22. What is the best way to go about backing up and restoring my laptop configuration to the ...
1
vote
2answers
46 views

Is it necessary to transfer `tar` files through `rsync` in archive mode?

I have a bunch of tar files in my machine which I want to transfer to an external hard drive (EHD); they where created preserving permissions (using the -p flag). I plan to use rsync to copy them to ...
3
votes
2answers
46 views

How to backup the data of my Linux system if I want to retrieve it in other operating systems?

I am a basic Linux user and would like to backup my data (my home directory to be precise) in an external hard drive (EHD), but would like to be able to retrieve this data in other operating systems ...
1
vote
1answer
56 views

Cannot close the file /etc/mtab when restoring /etc with rar

Prior to reinstalling VPS and upgrading from Debian 6 to Debian 8, I have archived /etc/ folder. Now, I am trying to extract and overwrite everything, but somewhere in the process I get this message ...
2
votes
0answers
77 views

Backup using find and ssh to off-site server

I'm sure this has been been answered in bits and pieces on many sites, but somehow I can't seem to get this (as a whole) to work reliably. Scenario: I have a server that I would like to do ...
-1
votes
1answer
66 views

Linux backup a folder by each

I have a folder /home/software, with some sub folders /home/software/game /home/software/photo /home/software/ebook ... I want to create tar backup including the date for each sub-folder so I will ...
0
votes
1answer
59 views

How to keep all log files?

I just lost important log file. Time Machine etc is not in use in that Mac. I would like to setup in my Mac (El Capitan) some unix thingie, which keeps all log files. Logs rotate, right? So if i ...
3
votes
2answers
67 views

Remove all but the latest backup file monthwise

I've got a directory, containing lots of weekly generated files with names like db_20130101_foo.tgz db_20130108_foo.tgz db_20130115_foo.tgz ... and so on. Over the years, the disks will get ...