Questions tagged [restore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
47 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 ...
0
votes
0answers
15 views

Migrating from turnkey Linux appliance to Debian 10 VM

I have a turnkey Linux appliance that's based on Debian 8.6 and I have a new Debian 10.9 Gen 2 VM I'm running on Hyper-v since Turnkey Linux still does not support UEFI. What simple approaches are ...
0
votes
0answers
23 views

Restore Ubuntu state from before upgrade with rsync

I have a root server with Ubuntu 16.04 which I use as a web server. This web server hosts a few production sites which should not be offline for long. I want to upgrade to Ubuntu 20.10. I anticipate ...
0
votes
0answers
18 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 ...
0
votes
1answer
35 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 ? ...
0
votes
1answer
23 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 ...
4
votes
2answers
708 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 ...
0
votes
0answers
17 views

Backup and restore links to config files and directories

Like many (I think), I have a ~/document directory which I would like to backup periodically to an external drive. ~/document contains also some symlinks to config files and directories, such as ~/....
2
votes
2answers
158 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 ...
0
votes
1answer
42 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 ...
0
votes
1answer
425 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 ...
1
vote
1answer
52 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 /...
0
votes
2answers
76 views

FreeBSD best practice for backup restore [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 ...
2
votes
1answer
43 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/, *...
0
votes
4answers
4k 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 ...
0
votes
1answer
143 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 ...
-1
votes
2answers
190 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 ...
0
votes
1answer
100 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 ...
1
vote
1answer
266 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, ...
1
vote
1answer
21 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 ...
0
votes
1answer
672 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 ...
1
vote
2answers
275 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....
1
vote
1answer
257 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,...
0
votes
1answer
210 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 ...
0
votes
0answers
101 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....
0
votes
1answer
52 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 ...
-1
votes
1answer
40 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 ...
0
votes
1answer
121 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 ...
3
votes
3answers
3k 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 ...
2
votes
0answers
353 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 ...
3
votes
1answer
46 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?
1
vote
0answers
407 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 (...
-1
votes
1answer
652 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: ...
1
vote
1answer
2k views

Can I restore my Linux Mint installation from external Timeshift snapshot after switching SSD?

I am using Linux Mint 19.1 "Tessa" on my laptop which has 120GB SSD. I want to change to a SSD with more storage. I know that with the Timeshift backup utility you can make a snapshot of the system ...
1
vote
0answers
341 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=`...
0
votes
2answers
144 views

criu: hello-world not working

I wanted to play around with criu, a project for checkpointing/restoring linux processes. For that I am playing around with the hello-world of criu, which is checkpointing and restoring a simple loop. ...
0
votes
1answer
471 views

Debian - Restore a Timezone File [duplicate]

So, I just screwed up a timezone file on my Debian system because I pointed it as a link to /etc/localtime vs. pointing /etc/localtime to it. Specifically, /usr/share/zoneinfo/America/Puerto_Rico. I'...
0
votes
1answer
620 views

I deleted my files with git rm, but i also commited them, how to get them back?

I ran git rm on some files thinking that they will be removed from the bitbucket repository, and i also commited them, after that i checked that they disapeared from the bitbucket repo, but they were ...
1
vote
1answer
1k 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
1answer
124 views

How to restore partitions after renumbering?

I have read the posts and decided to follow it to do it, Change the number of the partition from sda1 to sda2, made by Joao S Veiga. I thought it would be light-risk because renumbering partitions ...
1
vote
1answer
286 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 ...
1
vote
1answer
61 views

restore under RHEL 7

Say there's an application that install to /opt/ directory. I update it with yum. I do a full server backup, that is all the file systems (/opt/ maps to the root directory). Now, I discover a bug post ...
3
votes
1answer
10k views

Restore ZFS Pool and storage data after a system re-install

I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online. I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive ...
0
votes
1answer
337 views

How to restore the guest account in Ubuntu 18.04.1 LTS Bionic Beaver?

I have removed the guest account from the command-line using the command sudo sh -c 'printf "[Seat:*]\nallow-guest=false\n" >/etc/lightdm/lightdm.conf.d/50-no-guest.conf' How can I restore the ...
2
votes
0answers
398 views

tar restore --listed-incremental timestamp is in the future

I have some backups that were created using tar --listed-incremental features. When I restore the individual backups one after the other using tar -xf archive.tar I get no warnings but if I restore ...
-1
votes
1answer
223 views

Backup and restore clonezilla linux image into a new windows based laptop

my current office laptop ( that died recently ) is configured with dual boot windows/xubuntu, because company laptop comes by default with windows. Luckily the hard disk is fine. Now the new laptop ...
0
votes
1answer
195 views

backup with tar

I have found that I need this command to make a full backup of the Etc folder tar cJPf /srv/dev-disk-by-label-Share/Myfiles/$(date +%F)-$(hostname)-etc-tar.xz /etc/ But what command do I need to ...
0
votes
1answer
2k views

Can I restore a Macintosh disk image using dd?

I have a clone of an entire Mac OS HDD that I created using dd, as: sudo dd if=/dev/sda of=/media/mint/backup/mac-backup.img I verified the integrity of the image at creation time using diff. Now I ...
-1
votes
2answers
501 views

Restoring a text (known_hosts) file

rm ~/.ssh/known_hosts Without doing a backup of this file Now file is empty, is there any way to recovery/restore this file ?
0
votes
0answers
93 views

Why can't I change directory to the current directory with permission denied? [duplicate]

I am trying to restore a database with the following command: $ sudo -u postgres pg_restore -C -d dvdrental dvdrental.tar [sudo] password for t: However, I am receiving the following error message:...