Questions tagged [backup]
Making copies of data so that the copies may be used to restore the original after a data loss event, or for historical retention.
3,956
questions
-1
votes
1
answer
29
views
MariaDB - Emulate MySQL 5.7 version number?
I have been running MariaDB 5.5 on a linux server for several years.
Yesterday, I upgraded to MariaDB 10.11.3.
Now, my backup software has stopped backing up the databases, reporting an error that &...
0
votes
1
answer
56
views
Mongodb data files corrupted when copied in
I’m sure there is a straightforward solution, I’m running a Mongodb service thusly:
[Unit]
Description=Mongo server for Open Quartermaster. Version ${version}, using MongoDB tagged to "4".
...
-1
votes
1
answer
27
views
Backup MSSQL database via disk (no SSMS no command line)
Our Windows server is having issues but before running disk repair, I want to take a backup. At the moment I'm using SystemRescure (the Linux utility) and I have successfully saved files.
The only ...
-1
votes
0
answers
19
views
shell script to copy/backup files from multiple s3s to multiple s3s along with json file for aws access and security key
code for json
{
"bucketname:": {
"accessKeyId:<ACCESS_KEY_ID>,": {}
},
"secretAccessKey:<SECRET_ACCESS_KEY>,": {}
}
need shell script in a server ...
-1
votes
0
answers
20
views
Recommendation for offsite backup
My brother and I live about 100km apart and both have a local NAS which we also use for local backups of computers. In my network, two Macs make TimeMachine backups, in his network there is both a ...
-1
votes
0
answers
17
views
What is the difference between RAID 0 and RAID 1? [duplicate]
I bought a new server, which has 2x 960 SSD NVMe as Raid 1 by default. I think that Raid 1 is a good choice for me, as I have a separate server for backups (every day). If I want to consider Raid 1 as ...
0
votes
0
answers
24
views
Online monitoring / dashboard service for multiple metrics
I know there are services like Uptimerobot and Pingdom that monitor web service uptime.
I'd like to easily monitor web availability as well as backup status, eg if a backup ran/ completed properly. I'...
-2
votes
0
answers
23
views
GFS backup scheme, or looking for alternatives
Why the GFS (grandfather-father-son) backup scheme, according to acronis and other(s), has
"daily backups are incremental, weekly backups are differential, and monthly backups are full" ?
Is ...
0
votes
0
answers
28
views
Optimal automated neo4j backup startegy
I'm trying to figure out the most optimal way to do automated daily backups of my > 2TBs neo4j database. I need to get a db copy and upload it to S3.
I have a neo4j cluster with 1 primary db and 2 ...
0
votes
0
answers
13
views
Necessity to backup Cassandra system keyspaces
I was wondering about the necessity to backup (in order to restore of course) the system keyspaces of Cassandra.
My backup/restore procedure is the following:
backup: snapshots (nodetool) + dump of ...
1
vote
0
answers
61
views
Dovecot doveadm backup occassionally failing with error 65 - how to handle
I'm trying to set up backups of dovecot emails between 2 servers. The command doing the heavy lifting is:
doveadm -D backup -R -u clientuser@example.com ssh MAINSERVER.IP doveadm dsync-server -u ...
0
votes
0
answers
66
views
Apache Ignite - Automatic Cluster Snapshot Create / Restore Procedure
When trying the Apache Ignite cluster snapshot procedure (snapshot create, restore), the restore operation is not successful.
Before the restore procedure, we have destroyed the cache which we want to ...
0
votes
1
answer
56
views
Incremental backup of an entire FTP server with Linux [closed]
I'm looking for a simple way to schedule full + incremental backup of a remote FTP server (that also supports SFTP, but without SSH access) from My NAS that is based on Linux, WITH full SSH access. I'...
1
vote
1
answer
57
views
Hardening the security of a backup shell script of a web-server with mysql database
In the case of a simple web-server with a MySQL database, the script has to dump the database, copy the web-server files and tar everything together. Then a NAS server Rsync the tar file via a "...
1
vote
0
answers
36
views
mysql NDB backup fail
I'm trying to abort a backup on a NDB cluster like this:
ndb_mgm> abort backup 2304081512
Abort of backup 2304081512 ordered
But there is no change, the backup seems to be stalled :
ndb_mgm> ...
1
vote
0
answers
23
views
Backup drive on Linux system keeps getting corrupt. How to troubleshoot?
My webserver (Debian BullsEye) has an internal 2TB harddrive which sole purpose is to hold a backup of the server's main HD. Every day a cronjob is started that creates a backup using rsync. But every ...
0
votes
1
answer
68
views
How to compress a directory, using tar, and then delete the directory it compressed?
On my server there is an application directory that I need to make a full copy of it but the copy takes up a lot of space, I need to compress it and then remove it.
I already use the command
tar -czf ...
1
vote
0
answers
24
views
Unable to restore an MSSql Database from an Azure Storage backup
We have a simple sql script to restore an MSSql DB from an Azure storage blob. We backup our PROD DB to Azure Storage.
Trying to run this script (which we swear used to work a while ago).. now errors:
...
0
votes
0
answers
22
views
Borg asking for key file when upgrading unencrypted repository
Evening,
So i have an unencrypted borg backup repository which im trying to upgrade. The problem is, when running the borg backup command borg replies with "no key file found for repository"....
0
votes
0
answers
52
views
Does creating a machine Image stops the VM Instance in google cloud?
I have to make an image of a VM instance on Google Cloud, if I use the Create Machine Image option will this shut down the VM instance while it is creating, I'm reading the documentation on it but it ...
0
votes
1
answer
112
views
How to properly make a backup of a virtual machine using QEMU only
This questions asks how one can make a backup of a live virtual machine.
The accepted answer says it is possible with QEMU/libvirt.
My question (since the answer doesn't explain it) is how to do a ...
-2
votes
1
answer
41
views
Backup software that can split files to 3 separate disks [closed]
I have 3To of storage on a RAID5 configuration, and I want to setup a regular backup of these 3To of data on external disks that I would bring to a separate physical location (my office). I have 3 ...
0
votes
3
answers
117
views
Tar backup command for exclude backup files & cache & include only httpdocs subdirectories
I am looking for a tar command that meets the following requirements:
I want to exclude all files ending with: backwpup & .zip (in between and before can be any e.g. uploads/123backwpup-123.zip)
I ...
0
votes
2
answers
40
views
Troubles with Exporting Dovecot Post Boxes
My postfix/dovecot mailserver runs well, but I want to migrate to another server and my problem: I'm not able to export post boxes from my dovecot:
My command (I replaced the email address):
dsync -f -...
4
votes
1
answer
402
views
Linux immutable backup repository deployment architecture best practice?
What are the Linux distributions that are compatible with the Immutable repository?
Can you give me some advice on the best hardware or virtual machine configurations to deploy a large backup ...
0
votes
1
answer
138
views
Automysqlbackup does not use the configured password
I have automysqlbackup installed on debian. I added USERNAME and PASSWORD to /etc/default/automysqlbackup, but when automysqlbackup runs, I get the output:
/etc/cron.daily/automysqlbackup:
ERROR 1045 (...
0
votes
0
answers
44
views
backup /home over sftp - root
My current task is to set up a (remote) backup (using rsync/rsnapshot) over sftp of /home (linux). Obviously some files are read only for the owner (ie -r-------; and should stay that way) so i guess ...
1
vote
3
answers
148
views
Best way to backup a WordPress site on EC2 instance
My WordPress site is sitting on a single EC2 instance. My site has 60GB worth of files and a 800MB database size. My site is running out of space just by running the Duplicator plugin to back it up. ...
0
votes
0
answers
20
views
Data reconciliation for applications
I need to create a plan for a catastrophic data loss scenario where I need to recover some services (multiple apps each) from bare metal using data backups.
The process (i believe) requires the ...
0
votes
0
answers
97
views
cron / crontab : auto delete oldest backup files when new files get backed up, only if disk space is near capacity
I am using crontab (on Ubuntu Server 20.04) to automatically create daily backups of a text file and storing them on an external hard drive. I am using the following crontab to create my backups:
@...
1
vote
1
answer
43
views
IIS backup is backing up old history not new live data from IIS (All sites and Pools not new)
Windows 2016 Core Servers / IIS10
==IMPORTANT==
The backup seems to be backing up OLD data.
It seems that it is picking up on history instead of backing up the LIVE data.
This will explain WHY it is ...
0
votes
1
answer
90
views
Does daily rsync OS backup push SSD drives to its limits?
Since past year I'm using Rsnapshot (which uses rsync) to do my daily laptop Linux Ubuntu OS backup to a local NAS.
Some months ago I started having serious problems with the OS stability. It seems ...
0
votes
0
answers
46
views
How to backup two folders with duplicity?
I want to backup a few folders with duplicity and exclude the rest using a --include-globbing-filelist. Let's say to make it simple I want to backup /first and /second but not /third or any other (new)...
0
votes
1
answer
49
views
rsync: updated files to new folder
rsync allows to copy/synchronize folders without transferring files that already have been synchronized before and that did not change since last run. For that, you typically have to specify the ...
0
votes
0
answers
70
views
Puzzling issue with Hyper-V backup (volume shadow copy) integration and DPM 2019
I have a Microsoft DPM 2019 server that's been backing up various Windows Hyper-V VMs without issue until recently. No apparent changes have been made, but now a particular VM is failing its backup ...
0
votes
3
answers
309
views
Before-snapshot script hook for Windows guest on Proxmox?
I have a Proxmox server setup with a Windows 10 guest that will be running MSSQL Express. The Windows guest has QEMU guest agent installed and working. For backups, I have a separate server running ...
0
votes
0
answers
30
views
Cron Job Shell Backup file: Permission Failed
Ive been trying to create a Cron Job to Ultimatly back up the Data within my Public Html File
backup-JMORetail.sh Code
#!/bin/sh
NOW=$(date +'%Y.%m.%d')
tar cfz /home/jmoretai/Back-Ups_Local/...
0
votes
0
answers
115
views
Does NetApp allow third party tools to get access to the volume directly?
NetApp has a notion of
logical storage,
volume used and available space
The logical storage deviates from volume used and available space, because the used space has storage optimizations like ...
1
vote
0
answers
34
views
Use flock to back up sqlite?
I want to back up an SQLite database file without making a local copy to avoid flash memory wear. I'd also like to avoid moving the partition to a snapshottable file system like LVM.
I figured I could ...
0
votes
0
answers
161
views
Hyper-V Production Checkpoint issue with Debian 11 Linux VMs
Just added the first Linux VM (Debian 11) to Hyper-V Server Core 2016. An error is raised while exporting VM with
Get-VM ... | Export-VM -CaptureLiveState CaptureDataConsistentState ...
The message ...
0
votes
1
answer
178
views
Can I run a Select query on an SQL dump?
Here is my issue. I've a backup system, that creates an SQL Dump from a DB cluster every day. Works fine, yade yade. The cluster died one day and we realized, the sql dump were wrong for the past 1 ...
-1
votes
1
answer
56
views
What happens if the only DC fails?
I recently started an internship in System Administration and I am currently tasked with researching and potentially setting up an on Premise Active Directory in our company.
Lets say, I am running ...
0
votes
0
answers
211
views
How to snapshot a local Ubuntu machine
I have an old laptop with an external HDD as a home server.
The server runs Ubuntu 22.04. It is my DNS server (pi-hole), file server (smb), a web server for local sites, a bunch of python scripts on ...
1
vote
0
answers
28
views
Why does cdrecord alter my image when writing to CD ROM and how can I avoid it?
I want to use optical media for backups and hence created a luks image equivalent to that of a 80 min CD-ROM and recorded it twice using the cdrecord
# first run
$ cdrecord -v dev=0,0,0 image.luks
# ...
3
votes
3
answers
516
views
How does Azure Backup backup running VMs?
We are planning on implementing Azure Backup backups of our VMs but I'm struggling to find any documentation that clearly states how the backups are taken?
I see snapshots are being taken but how does ...
0
votes
0
answers
12
views
restic: display file operations EXCEPT "unchanged" entry
restic has a -vv option that allows tracking operations like:
unchanged /export/screenlog.0
unchanged /export/public/acme
new /export/public/newfile
modified /export/public/testfile, saved in ...
0
votes
0
answers
29
views
What CLI tool helps rotate my mysqldump files on cloud storage: daily backups, weekly, and monthly backups with deletion?
I need to backup my mysqldump files from my database server, daily. I need to retain:
daily backups for a week
weekly backups for a month
monthly backups for a year
yearly backups after that
My ...
0
votes
1
answer
135
views
How to efficiently backup shares (ZFS). Folder structure might change but media usually do not
The Issue: I have 18 large shares (each 24TBs), that contain lots of big media files. Mostly the media files themselves stay untouched. However, sometimes the folder structure changes, and thus my ...
0
votes
1
answer
62
views
"Append only" file attribute triggers incremental backup of file
"Append only" attribute set with this command chattr -R +a /mnt/A causes bacula to keep incrementally backing up files, even if they did not change.
I was able to determine this by comparing ...
0
votes
0
answers
12
views
ADO on premise recovery scenario (domain controller, app tier + db tier)
We are thinking about disaster recovery scenarios of one of our services and I am currently lacking some knowledge or sources to further investigate.
We have an Azure DevOps On Premise server that has ...