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

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.

0
votes
1answer
28 views

Scan unmounted external USB drive for malware without Infecting the system

I have an external USB backup drive that I suspect being infected with a rootkit and fear it might spread to the host Linux system when just connected. Some experts say that some malware has infected ...
-1
votes
0answers
17 views

How to save backup of Fedora software repositories

I've recently switched from macOS to Fedora and am now creating my dotfiles for easy backup and easily switching machine. For the macOS dotfiles I have a file that does a lot of brew install package, ...
1
vote
2answers
43 views

dd: failed to open '/dev/mmcblk0p': No such file or directory in Raspberry SD Card backuping

I am trying to backup of my raspberry Zero SD card by this instruction, i also mention that my raspberry zero have connected to my PC (Linux LDME) by USB OTG port and using Pi Power supply both ...
1
vote
0answers
29 views

Duplicity full volume restore, missing some files and services

I'm using duplicity on Ubuntu Xenial for creating and encrypting backups and storing them on an S3 bucket (Scaleway). This is the backup script I'm using: #!/bin/bash source ./.scw-configrc HOST=`...
1
vote
0answers
6 views

Full paths with rsnapshot and rsync server at source side with --relative option are truncated - how to preserve full source paths?

When using rsnapshot with following configuration: #/etc/rsnapshot.conf snapshot_root /backup.rsnapshot/ rsync_long_args --relative backup user@laptop:/home/user/test/ ./ a directory /backup....
0
votes
0answers
24 views

Did backup using dd break kernel update?

In a machine with two HDD connected to the motherboard, I used dd from a live USB to write the /dev/sda to /dev/sdb. After rebooting, everything seemed normal, however after an upgrade which also ...
1
vote
1answer
20 views

GPT header Backup

The first 512 bytes of MBR disk contains boot code and partition table, backing up (dd command) this area is useful. I have switched to GPT right now, and want make a backup, is it in the same way to ...
0
votes
0answers
11 views

lsyncd - How to upgrade lsyncd from 2.1.5 to 2.2.3 version

How to upgrade lsyncd from 2.1.5 to 2.2.3 version using the command prompt. Or how to install lsyncd 2.2.3. Does have any idea about this upgrade?
0
votes
0answers
37 views

lsyncd - How to include specific directories and exclude rest of all directories

I want to include some of the directories in lsyncd process and exclude rest of all directory. I have so many directories in a multisource directory. I want to include only temp and temp1 directory ...
2
votes
1answer
56 views

Is there a filesystem that keep track of all filesystem modification without snapshot? [duplicate]

I am interested in btrfs and I start understanding and loving it COW process. But what I understand is that I need to do snapshots to keep track of all modifications done on file. What happen when ...
0
votes
0answers
25 views

ssh reverse tunnel with dynamic port for backup over ssh in DMZ

I'd like to do backup over ssh on a server in DMZ, the backup would be executed by a backup server which can ssh to DMZ. I was thinking to use reverse ssh port forwarding with dynamic port, ie. ssh -R ...
-1
votes
1answer
59 views

What directories should I back up? [closed]

In this question, Accidentally deleted /usr/share a comment says that: many user programs store application data there Currently, I only back-up my /home directory tree; including hidden files and ...
0
votes
0answers
6 views

dump level not working?

OS: Ubuntu 18.04.2 LTS I am trying to harness the incremental feature of the dumpcommand however it seems like dump is ignoring the level value. My command is /sbin/dump -h 9 -a -j -f /media/...
-1
votes
1answer
32 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
17 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
33 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
41 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
23 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
25 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. ...
1
vote
0answers
150 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
33 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
83 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
20 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
56 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
34 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
64 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
277 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
230 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
125 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
110 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 ...
2
votes
1answer
306 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
18 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
98 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
33 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
30 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
453 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
76 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
56 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
37 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
251 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
62 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
206 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
145 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
106 views

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

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
112 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
44 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
80 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
157 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?