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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Backup NAS to an external drive on a connected computer

I found some options to backup the Synology NAS to an external drive, that is directly connected to the NAS. But is it possible to backup to a computer's external harddisk? For example, userX starts ...
user avatar
1 vote
1 answer
21 views

Automatic rollback to files copied with the backup argument

I'm making an update protocol for an embedded linux system, but I want to give users the option to roll back the update if it messes with their system, especially for alpha/beta releases. So I ...
user avatar
2 votes
1 answer
30 views

rsync include only subdirectory

at the moment I am struggling to find a solution to include only files in a subdirectory but exclude all other stuff. File structure looks like this $ tree ../ ../ ├── from │   ├── a │   │   ├── aa │  ...
user avatar
  • 23
-1 votes
1 answer
33 views

How to download all repositories of a GitHub account to my personal computer without using github cli? [duplicate]

I use WSL Ubuntu 18.04 unchanged. I have one GitHub user with 6 GitHub repositories of that user. Basically I just need to download all my GitHub repositories as I wish to make a local backup of all ...
user avatar
0 votes
1 answer
20 views

Copying large files to WebDAV share lets overflow the file system

From my internet provider, I got 100GB WebDAV cloud storage. I wanted to use this to store a remote backup of my pictures. Unfortunatelly, copying the 75GB into the cloud lets repeatedly overflow my ...
user avatar
0 votes
1 answer
20 views

Best way for rock solid system snapshots on fedora

What is a simple way to backup my system packages daily so I can rollback to the exact same state should I mess up (System files only not /home) Ideally I would be able to restore from the Fedora ...
user avatar
  • 189
0 votes
1 answer
20 views

Duplicity: Exclude files from verification

I use duplicity to backup a set of directories, using a daily cron job. I have another daily cron job to duplicity verify --compare-data the backup, as a sanity check, which runs shortly after the ...
user avatar
  • 101
1 vote
0 answers
38 views

Is there a way to use rsync to copy only what has changed

Im having a hard time with rsync to make an incremntal backup of a directory and upload it to a remote server, I have easily done this using a full backup the hard part is with incremental is that ...
user avatar
  • 11
1 vote
1 answer
37 views

Using rsync to backup system data gives "No such file"

I'm trying to backup my entire system directory using the following script: #!/bin/bash cd / BACKUP_LOCATION=/media/data/backup/system-backup/ echo Backing up system data to $BACKUP_LOCATION, ...
user avatar
1 vote
1 answer
92 views

How to extract a specific file version from a ZPAQ archive

Recently, I've been looking into ZPAQ, which can do versioned backups of files and directories. A big plus of ZPAQ is that it not only compresses data, but also deduplicates redundant blocks of data. ...
user avatar
0 votes
1 answer
261 views

Understanding how to backup and restore a Linux (Fedora 35) system

I need some help understanding the fundamentals of backups in Linux. Unfortunately my only experience with backup / restore is in MacOS with Time machine where everything just magically happens. My ...
user avatar
1 vote
0 answers
14 views

Won't Boot After Removing Sound-theme-freedesktop freedesktop.org from Linux mint 20.3

I removed sound-theme-freedesktop from linux mint 20.3 software manager because I thought it was unnecessary sounds that I don't need or use. After doing so, I rebooted and the system just hangs on ...
user avatar
  • 13
0 votes
1 answer
35 views

Permission errors backing up entire system using rsnapshot over local server

EDIT: the solution to this problem is the marked solution underneath + enabling PermitRootLogin without-password in /etc/ssh/sshd_config I'm trying to backup my entire system to my local server, but ...
user avatar
0 votes
0 answers
49 views

Best strategy to backup btrfs root filesystem?

I have a btrfs root partition with an @ root subvolume and an @home subvolume and I do auto-snapshots during updates and timeshift scheduled snapshots, both of which are saved on the same drive. This ...
user avatar
0 votes
0 answers
28 views

How to copy ALL files, from root, to an external hard drive in opensuse 15.2

Good day everyone. Since I'm going to format my laptop, I'm trying to copy all files, along with symlinks, hidden files and so on, starting from / I launched this command sudo rsync -avxHAXWS --...
user avatar
0 votes
0 answers
33 views

Is it possible to use an IMAP backup server as main IMAP server for my mailboxes?

The normal setup using an existing provider is: [PROVIDER-MAIL-SERVER] [IMAP/POP3 >] ---------> [EMAIL-CLIENTS] [Storage] The problem here are the small storage from the ...
user avatar
0 votes
0 answers
32 views

How to allow only a single rsync backup command (including destination) to a remote server, using rush on the remote server?

I have the following setup: A home server (called "home" in the following), A remote backup server (called "backup" in the following), to which I can ssh from home, I have full ...
user avatar
  • 101
0 votes
0 answers
52 views

Diff says that files differ after copying them with cp -a

I have a flash drive which I backed up onto a disk with the following command: cp -a /media/user/flashDrive /home/user/Documents/flashBackup Now I just wanted to quickly check if the files were ...
user avatar
0 votes
2 answers
28 views

Automatic rollback of broken configuration changes?

I run a headless home server and sometimes need to make configuration changes that have the potential to break remote access. Is there a tool or system service that can be set to define what ...
user avatar
  • 111
0 votes
0 answers
6 views

Pause exim4 email delivery during backup

Is there a way to pause exim4 deliveries to local mail files, during backups? It should accept the mail, keep it in the queue - and very important to not send any kind of "delayed mail" ...
user avatar
  • 101
0 votes
0 answers
29 views

Delete duplicated contents from files

I have many backups of a same file. Is there a way to transform that into incremental backup? Those files aren't exactly the same (not same timestamps sometimes, sometimes new data appended here and ...
user avatar
  • 13
0 votes
1 answer
38 views

Borg: Create backup archive only if (recursive) directory has changed

Currently I have Borg archives being creative hourly, via a cron script, for directories I'd like to be backed up. However, this is not exactly ideal. Ideally, I'd like backups to be created more than ...
user avatar
  • 1
1 vote
1 answer
63 views

How to let already copied files share fragments (reflink)?

I copy a file to a different XFS volume on daily basis as follows: # on monday cp --sparse=always /mnt/disk1/huge.file /mnt/disk2/monday/huge.file # on tuesday cp --sparse=always /mnt/disk1/huge.file /...
user avatar
  • 103
0 votes
1 answer
100 views

Udev rule refuses to trigger when harddrive is added

I'm on Ubuntu 20.04. I'm trying to execute an action when a specific harddrive is connected using an udev rule identifying the drive using UUID. The script will eventually do a routine where it will ...
user avatar
  • 1
0 votes
0 answers
34 views

How to remove hardlink to /home created by timeshift?

After installing timeshift on Kali Linux, the same device/drive with a different name/path was created as seen in the system monitor under the File Systems tab: Even after uninstalling timeshift, the ...
user avatar
2 votes
0 answers
84 views

Should Debian's backup account be used?

Linux distributions contain several system user accounts such as daemon, bin, sys, etc. Debian includes an account for backup. Is it alright to actually use this account? That is, give the account ...
user avatar
  • 196
0 votes
0 answers
30 views

Is it overkill to shutdown a VM before taking an LVM snapshot for backup purposes?

As part of a backup strategy for hundreds of VMs built on LVM volumes, I am considering: Shutdown the VM. Take a snapshot of the LVM volume containing user and application data, including MySQL and ...
user avatar
0 votes
2 answers
64 views

Do I need to partition my external hard drive?

Just bought an external hard drive to back up my files. Do I need to make a partition on this drive? It seems not working for me by only set the file system to ext4. OS is Linux
user avatar
  • 279
0 votes
0 answers
22 views

zorin restoring problem using default backup app

GPGError: GPG Failed, see log below: ===== Begin GnuPG log ===== gpg: no valid OpenPGP data found. gpg: decrypt_message failed: Unknown system error ===== End GnuPG log ===== I have just made this ...
user avatar
0 votes
1 answer
49 views

When restoring contents of a partition from a backup, how to only overwrite blocks that are different in backup and current partition contents? [duplicate]

Usually I would restore partition contents from a backup using dd of=/dev/where/to/restore with incoming stream from somewhere (like ssh connection). However, in the case of making a restore to SSD ...
user avatar
  • 121
0 votes
0 answers
26 views

rsync wrong group ownership

I recently made a full-system backup to a freshly ext4 formatted HDD using sudo rsync -aPAXHhv ... excluding the standard directories (/tmp, /mnt, /dev/, /sys, ...). Today I mounted this HDD in a ...
user avatar
  • 101
0 votes
1 answer
94 views

Back In Time - Program: failed: Invalid argument (22)

I'm trying to backup my computer files on an external hard drive using the "Back In Time" program for linux, but after the backup finishes, it says that the backup has errors. When I click ...
user avatar
1 vote
1 answer
66 views

Backing up MBR/GPT for detecting boot sector viruses

After installing Linux on a computer (Debian in particular), should I bother backing up the MBR or the GPT and use something like monit to periodically compare the MBR/GPT against this backup? Is this ...
user avatar
  • 125
0 votes
1 answer
56 views

How to deal with blocking commands in systemd service ExecStartPre lines?

Before my backup program (btrbk) can send its backup to my server, I need to open a VPN connection. Opening up the VPN connection by hand works perfectly fine, by invoking openvpn --config VPNConfig....
user avatar
0 votes
0 answers
34 views

Backing-up a LUKS drive in an archival cloud

I have a LUKS drive and wish to back it up in long-term storage in the cloud. I wish to back it up regularly, but do not want to upload all its GBs every time. How can I back up the parts that changed ...
user avatar
  • 3,616
1 vote
3 answers
231 views

Finding an appropriate backup strategy (borgbackup, restic etc)

I am fully aware that questions like this one have been asked multiple times. However, since reading lots of documentation of various backup tools didn't answer all my questions, I think its fine to ...
user avatar
  • 83
0 votes
0 answers
22 views

btrfs receive fails with incremental streams: "File exists"

For a btrfs subvolume, I have a simple incremental backup created from two stages: btrfs send old/@ > base.btrfs btrfs send new/@ -p old/@ > update.btrfs The two source subvolumes are snapshots ...
user avatar
  • 162
0 votes
0 answers
29 views

Is my backup completed or not, when rsync command does not return and I have to type Ctrl + Break?

I run the following command to backup my files: duplicity --no-encryption /home/digital file:///media/tidy/backup/ The backup hangs and the command prompt does not return. So I enter Ctrl+...
user avatar
  • 232
0 votes
0 answers
17 views

How can I automatically copy automysqlbackup backups to another machine?

I have Ubuntu Server 20.04 LTS installed on a Hyper-V virtual machine which is on Windows 10. I use automysqlbackup utility to create backups of my database on Ubuntu. How can I automatically copy ...
user avatar
0 votes
1 answer
47 views

How to find file attribute changes by comparing two BTRFS subvolumes?

Since disabling CoW on some folders (like database folders) crucial for a hard drive, I also need to backup that information. However, as of v5.10 btrfs send/receive still ignores this information. ...
user avatar
  • 1,937
1 vote
1 answer
147 views

Rsync Incremental Backup still copies all the files

I am currently writing a bash script for rsync. I am pretty sure I am doing something wrong. But I can't tell what it is. I will try to elaborate everything in detail so hopefully someone can help me. ...
user avatar
  • 11
0 votes
0 answers
13 views

How to live copy current running OS onto backup on zpool?

So I have this idea which would require a few techniques which I haven't used in quite a while. I would like to create an ZFS (SSD based) raidz2 which among other things will contain a live copy of ...
user avatar
0 votes
1 answer
70 views

Copy directory but exclude files with certain names

I'm not allowed to use rsync on the cluster I'm working on so I need to use things like cp or tar or find etc. I want to copy a large directory including all files and subfolders etc. while ignoring, ...
user avatar
1 vote
0 answers
57 views

TAR returns 1 on big directories - how to ignore this?

I'm running the following sequence for backup purposes: $> set -o pipefail $> tar -c /vary/large/folder1 /very/large/folder2 | xz ... | gpg ... | aws ... $> echo "${PIPESTATUS[0]} ${...
user avatar
  • 2,281
0 votes
0 answers
29 views

Rsync hanging indefinetly for local backiup

I'm trying to backup my computer's files to an external hard drive and having some issues with it. to just provide some basic info: I'm using rsync version v3.2.3 protocol version 31 I'm using arch ...
user avatar
1 vote
0 answers
32 views

Mount disk of non-selinux machine on machine with selinux enabled

I have a backup server, which has selinux enabled. It has an external hard drive attached to it to store the backups (ext4). I also have a workstation which has selinux disabled. If I run rsync from ...
user avatar
  • 803
1 vote
1 answer
37 views

Restoring /home/etc to /etc

I need to copy backup files from /mnt/backup/etc to /etc so cp/mnt/backup/etc* is the command I am thinking of. However, experience is teaching me cp/mnt/backup/etc* may be a destructive command to ...
user avatar
0 votes
1 answer
60 views

Duplicate Timeshift backups name

So I have 3 different linux distros using the same partition to store backups using timeshift. Arch linux Arch linux Ubuntu 20.04 I installed one of the arch linux a few days ago, and now after ...
user avatar
0 votes
2 answers
219 views

How can Nextcloud data be backed up and restored independently? (Versioning / Snapshots)

Whenever multiple users are interacting with a Nextcloud installation, there is a possibility of error. Potentially, a family member may delete an old picture or a co-worker might accidentally tick ...
user avatar
0 votes
1 answer
102 views

Backing up a ZFS pool on a laptop

I have been happily using ZFS pools on laptops for a few years, doing backups on an external drive containing a second pool. But recently, I switched from macOS to Linux, and discovered ZFS on USB ...
user avatar
  • 231

1
2 3 4 5
26