Stack Exchange Network

Stack Exchange network consists of 175 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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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
votes
1answer
20 views

problem when generating backup of the root folder with rsync

I have almost an entire day trying to create a mirror backup of the root folder of my ubuntu linux. Install the rsync and create a script with the following content: #!bin/bash rsync -rtvpl / /home/...
0
votes
0answers
10 views

Timeshift not restoring configurations and customizations

I am using Mint 19 and I have a 250 GB SSD dual boot, but the Windows install has corrupted.  Since I don't use it anyway, I am trying to set up a 120 GB SSD as a Linux-only system. I was able to do ...
1
vote
0answers
23 views

Attempt to backup a list of folders that some are git repositories

I have a list of folders that soime of them are git repositories. In order to backup it I tried thje following rsync command: LANG=EN_us.UTF-8 rsync -ravdhHP --delete --files-from=rsyncFolders.txt --...
0
votes
1answer
27 views

Rsync keep in textfile failed tranfers

I executed rsync in order to backup my files, some of files have not been removed but due to amount of output shown by rsync, I want to keep the failed tranfers into a file in order to distinguish ...
0
votes
1answer
17 views

Remove .gitignored folders and `node_modules` and `vendor` folders whilst I rsync them

On my GNU/Linux machine I want to backup a list of files specified in a text file names rsyncFolders.txt the idea is to keep the files I want and to exclude unwanted ones to backup. In these folders ...
0
votes
0answers
19 views

crontab daily backup [duplicate]

I want to use following command to back up my crontab on daily basis: crontab -l >/var/BackUpSource/crontab/crontab-$(date +%Y-%m-%d_%H:%M) It works perfectly in console. But when I try to set it ...
0
votes
0answers
19 views

Backup interruption using scp. How to exclude files just downloaded?

I need to backup a huge folder (more than 100 GB) from an external server. I use scp command in a linux terminal but connection issues happen sometimes. So I need to restart the procedure every time. ...
0
votes
0answers
53 views

Why is rsync so slow when working with MTP devices?

In order to perform regular backup of my phone (Samsung A5 2016, or SM-A510F) using rsync, I used the following command: rsync --verbose --progress --omit-dir-times --no-perms --recursive --inplace --...
1
vote
0answers
26 views

How to create password encrypted backup with gpg

Recently, I made a script that archives important files with gzip, encrypts them with gpg, using gpg --symmetric (which prompts me for a password), then uploads it. I was testing the backup on ...
1
vote
1answer
81 views

Why is /opt backed up separately from /?

I am working with a script that does system back up. One part of the script backs up /, /opt, and /usr/local. But isn't /opt and /usr/local under /? So why would the script back these up separately? I ...
0
votes
0answers
18 views

Syncing automatically files to a portable HDD

I need to syncing automatically the /home to a portable hard disk drive as follows : copying files on the HDD when new or modified from the source deleting files from the hard disk after 24 hours ...
0
votes
1answer
41 views

Can I restore a Grub installation using dd?

I have a dual boot system with this partition layout: # fdisk -l Disk /dev/sda: 596.2 GiB, 640135028736 bytes, 1250263728 sectors Disk model: SAMSUNG HM640JJ Units: sectors of 1 * 512 = 512 bytes ...
0
votes
0answers
26 views

Backup configuration for Ubuntu Server

How can I make a restore point for a Ubuntu Server 18.04? I have a clean install of the Ubuntu Server OS and before installing any Web Server I want to perform a backup and if something goes wrong ...
3
votes
1answer
60 views

Which files in $HOME defines the user preferences in gnome?

I'm backup/syncing my dotfiles in my $HOME-Directory via git. I don't want to sync everything of course, so I ignore everything via .gitignore and re-add the important files. * !.bash* .*.swp ....
1
vote
1answer
45 views

Signal-Desktop: how to export messages?

How can signal-desktop messages be exported? I want to backup my correspondence. Is it possible at all?
1
vote
3answers
158 views

Tar Splitting Into Standalone Volumes

I have some directories with over 100Gb of data. I'm trying to archive them into smaller volumes i.e. 10Gb each that are independent / standalone. The problem is if I use tar + split, it results in ...
0
votes
1answer
16 views

Fixed inode number for files across storage devices

How can we enforce that files use the same inode numbers for files across storage devices? The only way I can imagine is using dd, but that would require copying the whole container even if you just ...
2
votes
6answers
113 views

How to make a fully bootable backup of my internal disk to external disk? Issue with duplicate UUIDs

I've made a 1to1 copy of my internal disk using dd. The external disk bootable but since the disks will be sharing the same uuids, the boot process will actually continue from the internal disk. How ...
0
votes
2answers
42 views

How to store backup outside home directory [closed]

I'm using Linux Mint 19 Tara with home folder encryption enabled. Now I want to configure home backups with backup tool, but I don't want to store backup inside home directory. I don't want to store ...
1
vote
1answer
121 views

How to extract a single file from a cpio archive?

I have a cpio archive with lots of files and I need to extract only one file, not all. With tar I could just use tar -xf archive.tar path/to/file, but that does not work with cpio: cpio -i < ...
0
votes
0answers
12 views

recovery/ backup of IRIX image

i am working on a system recovery task. That is Silicon graphics indy computer , it has irix installed in it. I am facing a segmentation fault (core dump) over there. I Want to make a backup image of ...
-2
votes
4answers
92 views

How shall I fast and reliably transfer 300G files from a computer to another?

I want to transfer ~300G files from a laptop to other in the same local wifi network, for back up purpose. (I am running out of the space of my only external hard drive, and can't afford anything. ...
0
votes
1answer
30 views

Moving Specific Files in Specific Directory

I've some files in directory /app/me/all_off which filename like below : access_log alarm-batch alarm-service-root db_wrapper_access_log db_wrapper_api_service moqueue-job mt_push_api_service mtqueue-...
1
vote
1answer
21 views

Can “parchive” be used for block devices?

As explained on wikipedia and Arch linux wiki "Parchive"s can be used to generate additional data for a file, that can be used in verification and even to some degree for repair/recovery of said file ...
0
votes
2answers
187 views

Backup remote Linux server to windows

I would like to backup a remote linux server into a windows workstation. I am looking for an approach similar to this, but in windows: Backup from remote server Is there any rsync client for windows ...
1
vote
3answers
60 views

How to add ~/.zshrc file into git?

I would like to create a backup of the .zshrc file in my ~/ directory and avoid versioning all other items. How to exclude all subdirectories and their content? For example: cd ~/subdirectory/ &&...
0
votes
1answer
54 views

Why can't I find the file location in the terminal?

I am using the KUP backup system. To the right, in the KUP backup interface, it mentions the location of the backup is in Backups\kup\... but I cannot find the \kup\ under the \backup\ directory in ...
1
vote
0answers
34 views

Backup and Sync from Linux to a WSL live (per each change) [duplicate]

I have a Linux (Arch/Debian) with only a CLUI (Bash) and a server environment (LAMP) with the following details: 4 GB RAM 2 vCPU Cores 80 GB SSD 4 TB Transfer 40 Gbps Network In 4000 Mbps Network ...
2
votes
2answers
114 views

How can I tar and gzip my web directory files and download (using rsync) it in one command from my local machine?

I'm rewriting my original question because I realized this is more efficient: I'd like to tar and gzip my website files and then download it. I know I can tar and gzip it with one command using tar ...
1
vote
1answer
41 views

How do I backup Chrome OS?

I tried to use Acronis Backup & Restore Universal which boot form USB media, but it doesn't work. It doesn't boot from USB removable media. It looks like Chromebooks don't have a BIOS like normal ...
0
votes
1answer
89 views

What does dd write, when it encounters a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can. For that, I'm using dd to another drive of the exact same model. As ...
0
votes
1answer
95 views

How to store an rsync backup of my system on a NFS mount?

I'd like to use rsync to make a backup of my complete system including files owned by root and myself as well as other system and non-system users. I'd like to be able to restore the source directory ...
1
vote
0answers
63 views

What does it mean when Duplicity exits with exit status 23? [closed]

I'm running Duplicity for backup of my desktop to a remote storage. Everything has been working fine, but now I see in my log that Duplicity has been exiting with exit status 23 for a couple of runs. ...
0
votes
0answers
68 views

schedule auto backup the directories from Centos to FTP server

i have three Centos server i want to schedule autobackup some directories to my FTP server ,FTP is already installed in all servers, i want to use crontab for schedule the backup but the SH files is ...
1
vote
2answers
37 views

Speeding up repeated python calls (or, alternatively, porting a complex regex to sed)

I am an academic medical physicist. I do experiments that generate a fair amount of data, and they are expensive to run. My university has a backup system that consists of a robot tape library in a ...
0
votes
0answers
40 views

Migration from a HDD to a SSD

I recently bought a 240GB SSD. Before that, the system (Elementary OS Loki) was installed on a 1TB HDD, consuming 512Gb. My idea would be to leave the user's folder on the HDD, which consumes lots of ...
1
vote
2answers
83 views

rsync as root - does it change the ownership of synced files?

I'm going to be using rsync to sync an old home folder onto a backup drive. I'm thinking of using rsync as root. Is there a way to avoid changing the ownership of the files etc I copy?
0
votes
1answer
22 views

Backup the information with rsync to generate a mountable image?

Looking for some program to create a file of image of the information (.img) to later be able to mount it, I have not found anything simple. In the case of Clonezilla, it requires additional space to ...
3
votes
0answers
85 views

Backup: How to mirror/clone LVM LVs (or VGs) on demand?

So far, I have a semi-automated backup approach for the whole system installed in different LVs, using LVM (CoW) snapshots (which can be created upon boot to avoid data corruption). That is, if I ...
0
votes
0answers
16 views

Backup OS and GRUB before changing distro

I'd like to change my current distribution to some other distribution - especially I had to do a lot of experiments and would like to clean it up a bit. Before starting migration though I'd like to ...
1
vote
1answer
98 views

What's the difference between “parent” and “clone source” with “btrfs send”?

I regularly use btrfs send and btrfs receive to copy read-only snapshots from my live system to a backup drive. On the backup drive there are already multiple snapshots. Today I wondered: Can I copy ...
1
vote
1answer
425 views

What is the correct way to use doveadm to backup emails?

I am trying to backup my email server with dovecot. I have read the doveadm command documentation but it is unclear on how to use it. I have create a test directory /dove_backup and then trying to ...
0
votes
1answer
28 views

using sudo with piped command on Ubuntu server

If I need to use the following backup command on an Ubuntu server with sudo, how do I do so? Do I need sudo at two places? tar cf - directory | 7za a -si directory.tar.7z
2
votes
0answers
268 views

How to diagnose a slow network on Fedora 28?

Experiencing very slow network throughput on my linux Fedora 28 box. Barely getting over 4 MB/s down (~39 Mbps) using speedtest-cli, I can sometimes get near 8 MB/s down using wget to download test ...
1
vote
0answers
70 views

How to back up two ZFS pools to a backup pool with regular snapshots and incremental send/recv

I'm running ZFS on my home studio machine. I have two pools: ssdtank - holding the operating system datasets, swap zvol etc. hddtank - holding user data I have a backup USB HDD that I want to use ...
0
votes
1answer
126 views

Do I need to run BackInTime as root?

Just trying out BackInTime, not running as root, and when I've completed the initial configuration of settings I hit OK and... nothing happens. I've got my destination base set to a dedicated ...
3
votes
2answers
64 views

Is it possible to expect copies of files from ext4 to ntfs filesystems can work equally well as the original?

I am reading about how symlinks created on linux filesystem not work well when copied to NTFS filesystem at https://ubuntuforums.org/showthread.php?t=1497914. Is it possible to copy files of any ...
0
votes
0answers
56 views

automatic backup with duply to remote computer

I'd like to make a daily backup from my machine to another. The backup is created via duply, manually triggering it works fine: $ duply home status Start duply v1.11.3, time is 2018-11-19 17:07:10. ...
0
votes
1answer
122 views

CLI backup tool

Is there a backup tool which is "intelligent" enough to notice that a folder or large files may have been renamed between two backups? Maybe even if their location changed (not too complicated)? Is ...
0
votes
3answers
39 views

Keep only a certain amount of backups (tarballs) in a directory

On my debian 9.4 machine I have a script that automatically compresses & backups up all my files in a srv/ with the date in the name xx-xx-xxxx.tar. It is moved to my backups/ directory. I would ...