Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [backup]

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.

1
vote
0answers
21 views

Some questions about Hard-links, and backups

Recently I accidentally whipped out a directory with important stuff, and now I'm starting to think about the best ways to have backups, a remote copy It's already in place but I was thinking, about ...
0
votes
0answers
18 views

Duplicate folder names with .zip or .tar.gz extensions

I am trying to zip or tar the backup folders individually inside parent directory, but what I observed is zip or tar command is creating duplicate folder with .zip or .tar.gz of the original ...
0
votes
1answer
27 views

Backing up Linux to a Windows file system for later restoration

I need to backup / copy the files of my Linux installation to an external drive, so that I can restore them onto the new, larger disk. The destination disk for the restoration is twice as large, and ...
1
vote
1answer
19 views

Can I use rsync to move a list of files in different directories to a remote sever without logging in more than once?

So, I'm trying to write a script to back up some various configuration files with my ssh fileserver, but I'm not sure the best way to go about this. It would be nice if I could just fill a file with ...
0
votes
0answers
14 views

Back up and sync to mirror disk or image file

Let's assume a computer with 1 TB SSD and 2 TB HDD and an empty external 4 TB HDD for backup purposes. Now, to prevent data loss if one of the drives fails, a disk image or a copy of each file can be ...
0
votes
0answers
13 views

Backuppc rsync occasionally hangs on remote

I am using Backuppc for backing up 7 Ubuntu 18.04 machines. These hosts are running the exact same setup and hardware. I am just backing up the htdocs folders and and the db dumps that are generated ...
1
vote
1answer
31 views

How do I perform a full system backup on Debian Stretch using rsync?

I have compiled and installed Back In Time to perform automated, full, system backups of my desktop computer running Debian Stretch (kernel 4.90.0-8-amd64). Back In Time uses rsync under the hood. ...
0
votes
1answer
24 views

How to backup network systems to LTO tape?

Having narrowly avoided a catastrophic server failure, I have equipped myself with an LTO5 tape drive, and some tapes to avoid data loss, having previously relied on RAID. However, I realise that ...
0
votes
0answers
46 views

Backup and restore of Ubuntu with rsync

I am working on backup and restore on ubuntu using rsync command. Here I am having the requirement that I have to take the back up of my system using rsync but on local hard drive (i.e. no external ...
2
votes
1answer
164 views

Scheduled folder backup

I'm looking for how to automatically backup a user's home directory in CentOs 7 to a remote host or NAS or just to ~/.snapshot. In some Linux setups, I have seen a .snapshot folder in the user's home ...
0
votes
0answers
18 views

restricted shell for backup

I was thinking about creating some backup solution for my NAS. My idea is that I could set up a remote system with ssh access and backup tool (whichever I choose to use) would upload files there. All ...
2
votes
1answer
32 views

Rsync creating diff directories

What I want: I'm trying to back up many files to S3 each day. I want to compress these into archives daily so that each individual backup doesn't cost as much. Therefore, I want a backup system ...
1
vote
2answers
42 views

Stop rsync scheduled task race condition (large directory, small time interval)

Platform information: OpenBSD 6.2 amd64 $ rsync --version rsync version 3.1.2 protocol version 31 I'm trying to sync a large directory (4TB) using the following daily.local file (for Linux admins, ...
0
votes
1answer
17 views

Anyway to apply filter while btrfs subvolume snapshotting?

btrfs sub snap foo bar creates an exact same contents of subvolume foo as subvolume bar, except the subvolumes in foo, which are excluded in bar. What I want is excluding some regular folders too ...
0
votes
0answers
12 views

lvm restoration in initramfs

I'm running Kali Linux 2.0 2018 and I mistakenly deleted my LVM partition on my HDD.Now my system only boots in (initramfs) I know where the backup for the partition is on the HDD (/etc/lvm/backup/...
0
votes
0answers
84 views

Manually synchronizing two BTRFS snapshots with RSYNC

Question Is there a way to synchronize two BTRFS snapshots manually on different disks and mark them as identical (set the parent/child relationship) reliably? Problem I was synchronizing my ...
0
votes
0answers
53 views

Restoring Timeshift snapshot on encrypted disk: “Boot device not selected” error

I am having a problem restoring a Timeshift snapshot on an encrypted disk. Here are the detailed steps: 1.Install Manjaro Linux 17.1.11 in UEFI mode using default settings except enabling full disk ...
0
votes
0answers
31 views

amanda backup amcheck error

environment > Centos7.0 > server(amanda 3.3.3(centos7.0))-client(amanda3.3.3. client(centos7.0))<br/> error su - amandabackup amcheck MyConfig -bash-4.2$ amcheck MyConfig ...
0
votes
0answers
12 views

amanda backup centos server client disklist fail

try to back up server- client centos7.0 linux system but following error occured. Amanda backup Server(192.168.236.129): Centos7.0 su - amandabackup /diskList : amanda_client /etc /etc/hosts 192....
0
votes
1answer
30 views

Is unmounted USB drive more durable than mounted one?

I'm thinking of running a file server on Raspberry Pi with two USB flash memories. Should I mount and umount every time I execute the backup? I mean, is the umounted USB more durable than mounted USB (...
1
vote
2answers
60 views

How to configure an account to have read permissions to on all files on a system, including root's files?

I need to create a kind of "backup operator" account, which can read all the files on a system for copying to a backup system without the permission to modify any of them, including those belong to ...
2
votes
1answer
23 views

Dumping postgres DBs into separate files

I inherited a postgres DB (which I have very little experience with) and trying to figure out a way to dump/back it up. I've been reading docs about it and can get as far as dumping the DBs into ...
0
votes
1answer
20 views

how do i backup my linuxmint file system and exclude the /media folder?

trying to backup the file system files, but want to exclude /media folder. dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/ drwxrwxrwx and ...
0
votes
0answers
22 views

Why is dirvish backing up / instead of /home?

I'd like to configure my backup server to backup a remote machine. That's the default.conf for the remote machine: client: bob.vpn rsh: ssh -i /root/.ssh/id_rsa_dirvish_grue-root bob.vpn xdev: 1 ...
0
votes
0answers
32 views

Paper data backup on Linux?

Does there exist a tool like Paperback for Linux? PaperBack is a free application that allows you to back up your precious files on the ordinary paper in the form of the oversized bitmaps. If you ...
2
votes
0answers
35 views

rsnapshot without using rm/cp to rotate hourly intervals

Rsnapshot is a great tool, and I've been using it for years. I have discovered that my backups now take a very long time: 80 minutes. And I repeat that every 4 hours. After looking in the log, most ...
1
vote
1answer
147 views

Creating a raw img file of linux system

I'm trying to backup a linux system to an IMG file that I can then boot and run in QEMU. NOTE: I have tested on Lubuntu and tiny core linux. The process I have followed is: I have 2 hard disks, ...
1
vote
0answers
18 views

How can I reduce the size of my backintime snapshots?

I'm using backintime to create versioned backups of my root partition, and I would ideally like it to be making these snapshots quite often, daily if possible. However each snapshot at the moment is ...
0
votes
1answer
20 views

rdiff-backup - backup folder smaller than the original / error when restoring files

I'm testing rdiff-backup and I thought maybe someone could help me out. 1: Why is my backup smaller than the original folder? In my remote server I have 36G and in my backup server it's only 29G. 2: ...
1
vote
1answer
94 views

Pass a list of directories to rsync

I have a text file list_of_dirs_to_copy with 120 paths: data/A/backups/2018_02_12 data/B/backups/2/files data/B/old_files/2015_12 data/C/my_datafiles/800/dat data/F/backups & old files (second ...
1
vote
1answer
71 views

Help with script/rsync command to move file with md5 sum comparison before deleting the source file/ [closed]

Referencing this post to find and delete duplicate files based on checksum, I would like to modify the approach to perform a copy operation followed by a file integrity check on the destination file. ...
0
votes
2answers
39 views

Where is the idiomatic place to put source code for my projects? [closed]

I'm a software developer and only in the last year or so have I been using Linux Mint over Windows as my working dev environment. For the last year I figured I'd do things my way and adapt as I learn ...
2
votes
1answer
69 views

Questions about Rsnapshot - user permissions, deletion and hardlinks

Does Rsnapshot need root permissions on remote server side? I'm using a common user. backup commonuser@remoteserver:/directory directory/ I'd like to backup some folders like /home, /opt, /etc ...
0
votes
1answer
36 views

Create samba share with only write and no read permissions

Use case I'm the only user. I have an ubuntu NAS with fulldisk encryption, and I'm trying to back up my own Windows machines to that. I want to have a USB stick that I can boot from to clone the ...
3
votes
1answer
2k views

Which Linux Mint Timeshift method is more space efficient

Some questions about Timeshift backup in Linux Mint: can I expect a difference in drive space used for backups between the btrfs option and the rsync option? As I understand it btrfs uses diff-based ...
0
votes
0answers
91 views

How do I back up the non-distribution parts of my system (rather than just everything)?

I have a desktop system on which I want to switch Linux distributions; and I'm going to be installing the new distribution on the same partitions which now hold the old distribution's files. I want to ...
0
votes
0answers
18 views

Software for directory integrity

I keep a directory on my home server with all of my important files on it. I want to make offline backups of this directory. But as I add and modify file, I also want to be able to make comparisons ...
1
vote
0answers
44 views

rsync changes permission [closed]

I am using rsync to copy from a mounted file system to a server via ssh. rsync -avx example server:/home/username/permstest/ when I call stat on the example file in my home directory it gives ...
2
votes
0answers
117 views

Question about blocks sizes on Tape vs. Tar

I have an HP LTO-4 drive that I've been using for backups for a while now and everything works very well, but I have a question on how the Tar blocking factor works and what is actually written to ...
1
vote
2answers
93 views

Is it safe to run a full system backup with tar on an ext4 filesystem?

I'd like to make a backup of a live system, I'm running the command tar -cvpzf backup-latest.tar.gz --exclude=/backup-latest.tar.gz --one-file-system / But I just got an error of: tar: /: file ...
0
votes
0answers
26 views

Good fdisk output for backup image but can't mount to loop device even when using offset

I've recently created a backup file for my Ubuntu 16.04.4 server using dd in order to prepare for migrating to a larger SSD. I want to mount the backup image through a separate Ubuntu VM running on my ...
0
votes
0answers
57 views

synchronizing data on two (or more) computers via USB

I use two computers. The data I need, i synchronize through rsync. Typically, when I come to the computer I issue: rsync -vuhzrXte ssh from_the_other_computer to_this_computer This works and I find ...
0
votes
1answer
108 views

rsync --link-dest not linking

I am using rsync to create backups of my website. I would like to use --link-dest to link to older backups and reduce the storage required, so duplicate unchanged files aren't stored multiple times. ...
0
votes
0answers
73 views

Create backup image of running Ubuntu?

On Windows there is software like Acronis True Image that can create full backup images of a currently running system. Is there any alternative on Ubuntu for doing that? Requirements: still ...
1
vote
0answers
84 views

Trigger script to run when USB drive connected with no user logged on on Ubuntu 18.04

I'm working on a DIY NAS project running on Ubuntu 18.04. I want to implement the following feature: when an external USB disk is connected (could be a specific disk identified by UUID or ...
-1
votes
1answer
95 views

ftp move files every night

i have a FTP in a LAN that all day users upload content. This gets bulky and messy due to the large amount of files. Every day i create a new folder with the date and then move all the files from this ...
0
votes
0answers
17 views

excluding huge files when using git tracking of dot-files

For backuping and sharing dotfiles, I've created an git-repository in ~ with the following content in my .gitignore file: #.gitignore * Now, when I want to track something, I do for example an add ...
0
votes
1answer
19 views

Updateable archive format which includes file permission

I know there are similar questions around, but none made me happy: Is there a console based file archiving / compression tool, which saves Linux file permissions and is also able to update an ...
1
vote
1answer
106 views

How to move multiples files to remote server using rsync?

I'm using rsync to make incremental backups in my server and i created a bash script for it: in practice it can copy multiple files at once into the local machine with ssh, and the syntax that i used ...
0
votes
1answer
78 views

Does `ntfs` have the concept of hard links?

Does what I describe below sound good? I am thinking about using rsync to backup files under a directory of my Lubuntu laptop to an external hard drive. I also plan to use the rsync option --link-...