Questions tagged [restore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
16 views

Issues running an automatic and unattended clonezilla restore drive

When I try to run an automated and unattended restore via Clonezilla it returns the following error: Now run "ocs_prerun": mount /dev/sdb2 /mnt... Mount: /mnt: special device /dev/sdb2 does ...
user avatar
  • 21
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
2 votes
1 answer
62 views

Restoring a backup with rsync

I'm getting back into Linux and am running Kubuntu 21.10, and I want to make a proper full backup of the system now that I've configured it how I like. This is the command I used to create a backup on ...
user avatar
0 votes
0 answers
22 views

Linux no longer booting from onboard memory

I'm having issues with a linux device. We have four of these devices where one of them had an error and I tried to restore it using a dd command which might have resulted in breaking the device. I don'...
user avatar
0 votes
1 answer
36 views

How to browse an img from a broken drive (restore lost data)

Currently I believe I'm experiencing drive (HDD) failure. It is a single partition drive for extra storage. When I attempt to mount it I get the following error: # mount /dev/sdc1 /mnt mount: wrong fs ...
user avatar
0 votes
0 answers
36 views

the suggestions about restoring the directories under /var?

Terribly sorry for this basic question, I'm a newbie to the linux world. Currently I have a RHEL 7.5 machine which should normally have the following stuff under /var directory: adm, cache, crash, db, ...
user avatar
0 votes
0 answers
28 views

How to restore files created by dump(8) to a new directory?

I needed to transfer many (!) small files from an ext4 filesystem to another. So I've used dump(8), which performed way better than rsync, cpio or tar. I've used it like this: dump -0 -f - files/ | pv ...
user avatar
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
1 vote
3 answers
239 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
1 vote
0 answers
23 views

ssh_host_[algorithm]_key group owner changed after OS restoration

I've this weird problem which I can't find an answer. Recently I restored a linux machine (RHEL 7.3) from the OS tar archives. Steps taken are as below: Create OS related filesystems tar archives, ...
user avatar
  • 11
0 votes
2 answers
227 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
63 views

How to kill chrome under Linux so that it'll resume next time

How to kill chrome under Linux so that it'll resume/restore the sessions when it is started next time? It's a trivial thing to do under Windows, but under Linux, no matter how I tried to kill chrome, ...
user avatar
  • 485
0 votes
0 answers
58 views

My Parrot OS and D disk has disappeared. How do I fix it?

Before disappear start I have a 4 partitions on one hard disk and those are Kali linux, Parrot OS, Windows 7 C disk partition, Windows 7 D disk partition. Moreover My computer is triple boot. ...
user avatar
0 votes
1 answer
48 views

Conversion of files into directories, and the possibility of changing them back

Basically what happened is due to a known bug with duplicity I had to manually extract the difftar archives (Difftarchives?) Imagine my shock and slight horror when I saw that many files that ought to ...
user avatar
1 vote
0 answers
100 views

restoring using timeshift with an encrypted disk from a fresh live usb install

if you're using the live usb (this is specific to pop!_os 21.04, but i think it would apply to ubuntu etc) and you do a fresh reinstall, would you need to boot into the new system to get access to the ...
user avatar
  • 11
2 votes
3 answers
427 views

Backup and restore timestamps of files/directories?

We need to backup the a/c/mtime-stamps of files and directories, and have the ability to restore them if necessary. An example command to back up could be: $ timestamp backup --all-stamps --incl-dir-...
user avatar
9 votes
2 answers
1k views

Backup my EFI boot entry for easy restore

Giving that Windows 10 would most likely wipe my Linux EFI boot entry, See the comment after the answer here: Windows 10 will usually "self-heal" its firmware boot entry if you manage to ...
user avatar
  • 485
0 votes
0 answers
116 views

Timeshift restore from the same disk

Couple of weeks earlier i created a snapshot from Timeshift. This snapshot is full (all directories, whole disk. Using Rsync) snapshot. Thing is, this snapshot and my system is on the same disk which ...
user avatar
  • 115
0 votes
0 answers
61 views

Are there dedicated tools for efficient backups of (fully encrypted Debian) GNU/Linux systems?

First of all, this is not an opinion-based question. I'm asking about tools dedicated to backup and restoring full (Debian) systems. I'd like to backup my Debian10/KDE system in an efficient way with ...
user avatar
  • 3,430
1 vote
0 answers
41 views

Tar archive overwrote original file

I was compressing a rosbag file using tar when I mistakenly used the same original file name for the the archive name and had it overwritten by the output archive , the compressed archive size is very ...
user avatar
  • 11
0 votes
2 answers
715 views

How to restore important deleted package

I run the command apt autoremove, And it accidentally removed some packages, Which I assume is important, because after I run the command, I can't access wifi, I can't find it icon. The output for apt ...
user avatar
  • 3
0 votes
0 answers
60 views

restore files from backup directory recursively

i backuped hundreds of files from source directory using script, files in my backup directory have the same names, also backup directory's directory structure is also same as source directory how can ...
user avatar
  • 143
0 votes
1 answer
201 views

Arch linux: restore session with running programs after running out of battery

I have Lenovo notebook with Arch linux. When I run out of battery and my notebook dies, after starting it. It freshly boots new session. Is there a way to restore previous session and continue in it ? ...
user avatar
0 votes
1 answer
63 views

Restoring System after crash fails (Ubuntu Budgie 20.04)

My ubuntu 20.04 crashed and now the computer only boots into grub rescue mode. As usual, i wanted to repair Ubuntu with fsck. But the df output doesnt list my hard drives /dev/sda and /dev/sdb. The ...
user avatar
4 votes
2 answers
749 views

What causes \r's to be inserted before \n's when retrieving a binary file over ssh, and how do I circumvent it?

I have inherited a Ubuntu 14.04 production server which needs to be upgraded to 20.04, and I would like a sandboxed version to experiment with first, hence I want to dump and restore the filesystems ...
user avatar
2 votes
2 answers
826 views

Restore / roll back single files or folders on btrfs

I am planning to utilize btrfs for a NAS system. Now I am wondering whether it is possible to roll back things to snapshots on a file / folder level. I ask this because typically one only wants to ...
user avatar
  • 41
0 votes
1 answer
101 views

Recover formated Linux Mint encrypted Drive

When installing Windows 10 I accidentally mixed the drives and deleted another one that had Linux Mint and was encrypted, since then I haven't done anything on drive to not overwrite anything. Is it ...
user avatar
  • 1
1 vote
1 answer
3k views

Rollback root snapshot in BTRFS

I have only 1 BTRFS partition that contains both / and /home. I have snapshotted the root filesystem via the command: btrfs subvolume snapshot / /root/snapshots/test Now I want to restore this ...
user avatar
  • 883
1 vote
1 answer
63 views

How to restore my system to good condition on linux mint 20?

I booted from Linux Mint Live from USB with the aim to separate /home from / separate partition I mounted both the partitions and by mistake moved wrong files to wrong place (while using sudo) mount /...
user avatar
  • 11
0 votes
2 answers
164 views

what is best practice for backup restore on. FreeBSD [closed]

What is the best practice for system backup and restore on freebsd? Because I'm making many changes to the system I need to use quickest and easiest way to restore entire system to previous ...
user avatar
2 votes
1 answer
131 views

Partial restore with Back In Time

I'm trying different backup methods for my Linux machine. Came across Back In Time, and I like it, but: Is there a way to restore just some of the backed up files/dirs? Say I have selected dirs */A/, *...
user avatar
1 vote
4 answers
10k views

Using rsync to create a complete OS backup/clone sufficient?

Will using rsync to duplicate an entire file system, e.g. doing rsync -avxHAX --progress / /dev/[backup disk] as suggested here, result in a complete duplicate Linux system? I.e. will all system and ...
user avatar
  • 101
0 votes
1 answer
390 views

# dd + lz4 compression and de compression

I have a CentOS server and I have take a backup of the server using following command (dd + lz4). # dd if=/dev/sda bs=100M | pv -ptera -s500G | lz4 > Lenovo-Win8-sda.dd.lz4 It's working and now I ...
user avatar
0 votes
2 answers
579 views

Copying or restoring crtime for files/directories on ext4fs filesystem

I wonder if there are ways to copy or restore crtime (creation time) for inodes/files/directories in Linux in 2020. I've accidentally deleted a folder while I still have a full disk backup, but ...
user avatar
0 votes
1 answer
243 views

Accidentally executed luksFormat instead of luksOpen

I have two disks as RAID-1 encrypted via LUKS: # blkid ... /dev/md0: UUID="x-x-x-x-x" TYPE="crypto_LUKS" Accidently I executed cryptsetup luksFormat /dev/md0 instead of cryptsetup luksOpen /dev/md0 ...
user avatar
1 vote
1 answer
531 views

Proper way to backup an overlayfs

I'm using an overlayfs for different folders. Now I'm thinking about a backup and restore process. I didn't found anything via google, which answered my question. An overlayfs has an upper, lower, ...
user avatar
1 vote
1 answer
23 views

After a reboot is there a way to restore prior windows like terminals and gnotes to what they were before a reboot?

I have a dual boot setup (GNU/Linux-Debian-Buster & Windows 10). Sometimes I have to shutdown GNU/Linux, thus closing all of my many open windows with work in progress, to be able to ...
user avatar
0 votes
1 answer
813 views

Which OS will be reinstalled with a factory reset from a dual boot?

I have a computer that had been installed with a dual-boot. Currently, there is when I start a grub kernel that handles two OS on multiple partitions (sda1 to sda4): Ubuntu Windows (with some remote ...
user avatar
1 vote
2 answers
526 views

dd: "No space left" when restoring backup to exact same disk

A while ago I made a backup of an entire disk using dd if=/dev/nvme0n1 conv=sync,noerror bs=64K | gzip -c > backup.img.gz Today I restored this backup to the same disk using gunzip -c backup....
user avatar
  • 13
1 vote
1 answer
338 views

A good way how to backup user data in CentOS?

I need to back up my data and I have not found a good way so far. Just say I have 1 TB of a non-system disk with 50-100 GB of user data (binary files, source code, images, etc.). And another big disk,...
user avatar
0 votes
1 answer
340 views

xfce4 + i3 are not properly restoring saved sessions?

I'm using manjaro with xfce4 and i3 as my wm. So far so good, the problem that I'm usually facing is that whenever I logout from my current session and log back in all my apps are closed and the ...
user avatar
0 votes
0 answers
140 views

Odd output from dsmc (Tivoli storage manager or TSM) query backup

I'm using TSM (dsmc) on Ubuntu 14.04. # dsmc IBM Spectrum Protect Befehlszeilenschnittstelle des Clients für Sichern/Archivieren Clientversion 8, Release 1, Stufe 8.0 Client-Datum/Zeit: 04.12....
user avatar
0 votes
1 answer
66 views

Why use tape for restoring AIX mksysb instead of other ordinary drive devices?

I'm intrigued by the fact that the only way to restore a mksysb backup on AIX Unix systems can be done either by using a NIM server or by manually using a tape. Why is it that you cannot replace the ...
user avatar
  • 110
-1 votes
1 answer
51 views

How to do linux snapshots similar to VirtualBox guest snapshot?

I'm still learning how linux works so I'm constantly making mistakes, installing packages in the wrong way and whatnot. A good way of solving this is using VirtualBox and just taking snapshots from ...
user avatar
  • 11
0 votes
1 answer
137 views

"Backups" (deja-dup): after installing duplicity 0.8 from source, "Backups" can't find it

When using "Backups" (a.k.a. deja-dup) - it doesn't find duplicity, although it's installed: I have been trying to backup using "Backups" (a.k.a. deja-dup), and it turns out that the current ...
user avatar
3 votes
3 answers
6k views

How can I create an image of a partition (ext4) and later mount it to browse/restore files? [duplicate]

I'd like to backup my current Debian 9 server OS partition so I can install a clean version of Debian 10. However, after installing Debian 10, I'd like to mount my old OS image so I can browse and ...
user avatar
  • 283
2 votes
0 answers
517 views

Restoring Android "userdata" partition from an eMMC - Unknown filesystem

I have successfully dumped an Android (7 or 8) filesystem from an eMMC chip into file sony_xa1.img using dd. I'm able to mount the system partition but not userdata. Using $ sudo losetup -Prf ...
user avatar
3 votes
1 answer
48 views

Restore a removed file when still in use

Is there a way to restore/recover a removed file when it's still in use?
user avatar
  • 1,991
2 votes
1 answer
649 views

How to fix my partition after mistaken gpart bootcode?

I was trying to make my HDD bootable and did gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1 and now I got "Invalid partition" message on boot. /boot was from USB drive, not from HDD (...
user avatar
  • 2,517
-1 votes
1 answer
797 views

updates.sh - Command Not Found - Arch linux

I installed Archlabs 1 month later, today I noticed bin folder in ~ directory and Deleted it. After Reboot This errors Came out in polybar /bin/sh: updates.sh: command not foun And /bin/sh: ...
user avatar