Questions tagged [backup-strategies]
169 questions
2
votes
1 answer
windows: copy with hardlinks for backup
in case I accidentally modify/delete important documents, my linux PC makes daily backups with a script that gets executed by cron and contains the following line.
rsync --checksum --recursive ${source} ${dest}/$i…

Volker Weißmann
- 554
- 1
- 6
- 24
2
votes
0 answers
How elasticsearch snapshot restore works on cluster?
I am having a ES cluster with 10 nodes having 2 master node. Each node having approx 500 GB of data. I would like to have backup of the whole cluster. Which would be the best possible way to do the same.
I have gone through the snapshot and restore…

drishti ahuja
- 1,379
- 2
- 15
- 26
2
votes
2 answers
Back up git server for disaster management stage
I have a git server and planing to backup it for a disaster situation. I have googled it and got some points to do so are following:
git clone repos and push on new server whenever required, can be used locally also.
Create a git bundle.
I have a…

Sachin Chandil
- 17,133
- 8
- 47
- 65
2
votes
2 answers
PowerShell SQL Job Step Move-Item not working on 1 server
This identical code has been used in 3 servers, and only one of them does it silently fail to move the items (it still REMOVES them, but they do not appear in the share).
Azure-MapShare.ps1
param (
[string]$DriveLetter,
…

C Bauer
- 5,003
- 4
- 33
- 62
2
votes
1 answer
Bash command to archive files daily based on date added
I have a suite of scripts that involve downloading files from a remote server and then parsing them. Each night, I would like to create an archive of the files downloaded that day.
Some constraints are:
Downloading from a Windows server to an…

FocusedEnergy
- 129
- 1
- 12
2
votes
1 answer
Rsync - files in destination much bigger than source
I'm trying to set up a backup routine that will copy files like-for-like.
I've set up Rsync in a Mac Automator routine to sync a windows formatted removable drive attached to my MacBook to a NAS drive on my wifi network.
I'm using 'rsync -va', the…

dazzathedrummer
- 511
- 2
- 10
- 26
2
votes
1 answer
Encrypted FTP Storage
I guess this is kind of a programming question, because I'm going to write a program if this doesn't exist.
So I found a very cheap web-host (I don't really care about the actual web hosting). They will give me a domain name and ftp server with a…

TheBigS
- 491
- 1
- 4
- 14
2
votes
1 answer
Daily and weekly backup strategies
I would like to understand more about Complete GIT backup in Server on everyday or weekly basis.
I have tried the @VonC fully and incremental backup script 'sbin/save_bundles', mentioned in this answer, which gives the following error.
Error…

momsfoodfactory
- 31
- 1
2
votes
1 answer
replace azure database with backup
I have a backup file (.bacpac) of an azure database. I'd like to replace the existing azure database with that backup. What is the recommended procedure:
importing the backup into a new database and rename the database to the old one?
using SSMS…

purbsel
- 307
- 8
- 21
2
votes
3 answers
svnadmin dump in git
I'm in the process of moving a bunch of my work from personal SVN repo's to git repo's. I've had a cron job setup that runs svnadmin dump every night on all my repos into a remote folder. Is there similar functionality in git?
Also, I don't fully…

Corey Hart
- 10,316
- 9
- 41
- 47
2
votes
3 answers
(Lightweight) backup strategies for a LAMP application stack?
I'm researching some lightweight tools to backup a LAMP stack. The two most imporatant pieces are the
php codebase and
the mysql database.
I can tar/bz2 the code and a mysqldump and restore it on a new server (if the old one crashes) and this is…

miku
- 181,842
- 47
- 306
- 310
2
votes
1 answer
Can I use an rsync log file from a dry run as an input to a real run?
I like rsync. I can see what files will be deleted first. But what happens if during the backup, a sector of the source disk fails? Files could be deleted from the destination that should not be. However, if I check the log file for all deletion…

Brad Porter
- 449
- 4
- 6
2
votes
3 answers
how to backup your mamp pro mysql dbs?
while I find the apache portion of mamp pretty easy to backup, what is everyone using or how are you performing a scheduled backup of your mysql databases? It would be kinda annoying to export each DB one by one.
thank you

Chris Hough
- 3,389
- 3
- 41
- 80
2
votes
3 answers
Postgresql PITR backup: best practices to handle multiple databases?
Hy guys, i have a postgresql 8.3 server with many database.
Actually, im planning to backup those db with a script that will store all the backup in a folder with the same name of the db, for…

Strae
- 18,807
- 29
- 92
- 131
1
vote
2 answers
Persistant database state strategies
Due to several edits, this question might have become a bit incoherent. I apologize.
I'm currently writing a Python server. It will never see more than 4 active users, but I'm a computer science student, so I'm planning for it anyway.
Currently, I'm…

malexmave
- 1,283
- 2
- 17
- 37