Prompt
stringlengths
14
160
Instruction
stringlengths
18
2k
Response
stringlengths
8
2k
SQL server 2008 R2 - Backup doesn't end
I have a small database (500 MB) with 10 tables. I can do select on all tables. But when I do a backup, it is never ending. I have tried through the UI and also using the following command: BACKUP DATABASE DB_NAME to Disk = N'C:\temp\DB_Aug22.bak With noformat, noinit, name = N'DB_Aug22.bak, STATS = 10 wh...
1 If you still face any issue in it, you can follow the approach (17 points): http://msdn.microsoft.com/en-us/library/ms187510.aspx Share Improve this answer Follow answered Aug 23, 2012 at 11:07...
Restore database from backup file, where file name matches reg expression
I am doing the below using SQL Server / T-SQL : RESTORE DATABASE UAT FROM DISK = 'E:\Databases\backup\MY_LIVE_20120720_070001.bak' WITH REPLACE But I want to be able to use a file location that ignores the numbers in the file name (which represent the date) in my backup file. There will only ever be one 'MY_LIVE_****...
You can use xp_cmdshell to do a dir for your file. Note, however, that xp_cmdshell is normally disabled for good reasons. Given this is UAT, that may not be an issue. See here for more http://www.sqlusa.com/bestpractices2005/dir/
mysqldump file imports slowly compared to phpmyadmin file
I have a large mySQL database that I backup each night via a cron job: /usr/bin/mysqldump --opt USERNAME -e -h SERVERNAME -uUSER -pPASSWORD > /home/DIRECTORY/backup.sql It is working well - except when I go to 'restore' the sql file on another server - it takes a long time (about 3 mins) This is in contrast to using ...
From my comments… Likely the options between mysqldump and PHPMyAdmin export don't match. For example, inclusion of DROP TABLE, extended INSERT, etc. I suggest comparing the two files. I'm sure there is something obvious. Then either adjust the options for mysqldump or in PHPMyAdmin. Either should work as the latter u...
How to take Hbase table snapshot?
I am new to Hbase and I was looking for Hbase backup and restore solution. CAn you please mention how to take snapshot of Hbase or Hbase table and restoring it as part of recovery solution? Thanks in advance!!!
1 Login to hbase shell snapshot 'table_name','snapshot_name' you can see whether it create a snapshot or not from hbase shell, type list_snapshots Share Improve this answer Follow answered ...
NSIS doesn't backup all files
An NSIS installer creates a fairly large folder structure. When the installer starts, it checks the registry to see if there is a current version installed... Then it asks if you want to make a backup of the current folder. It works most of the time, but sometimes when it is backing up older versions, instead of cop...
Is there any reason why you cannot use the built-in CopyFiles command? To debug this I would suggest that you add a DetailPrint near the top of the .MoveFolder_Locate_moveFile function. If you see all the file names go by then the problem is the move operation in that function, if not then the problem is in the ${Loca...
UberSVN on Windows: Take a backup of all repositories at once and restore them
I am new to SVN and UberSVN on windows. I am using UberSVN 12.04 Free edition (not using any uberapp.) I would like to know if there is anyway in which I can take the backup of all the repositories at once? I know that I can take one by one backups for every Repo. Is there any way that I can take backups and restore i...
1 You can just copy the entire directory if you want to take a cut of your repo's outside of the svn backup options. There isn't a way to add multiple repo's at once to uberSVN at the moment, you would need to do these individually. It is something that has been discussed...
Compress Workspace for archiving App versions
Now(6:13pm Jun 1, 2012): I resign myself to learning git and github so that I can do version control. I won't need to mail copies of the (compressed) code to myself, but I still don't understand the mechanism after a day of looking at this stuff. I get the SHA1 concept for uniquely identifying a file, and using the...
1 From personal experience I agree with other commentators that Git is the way to go, or even Mercurial. The learning curve bends down after a while especially if the needs are modest. As to the need for a "Poor Man's Version Control", sometimes you do need one. For examp...
How to take backup of Site prior to publish
I am using the following command to build package and deploy site on remote server using teamcity msbuild /M /P:Configuration=%env.Configuration% /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=%env.TargetServer%/MsDeployAgentService /P:DeployiisAppPath=%env.IISPath% /P:MSDeployPublishMetho...
1 Have you checked this document? http://www.iis.net/learn/publish/using-web-deploy/web-deploy-automatic-backups It says that a backup is automatically created if it is enabled on the server (and then explains how to set it up) Share Improve this answer ...
How do I use tar using an absolute path from user input to backup a directory?
I have a script that gets the input from the user as an absolute path (using the fselect dialog box). backupdir=$(user_select "choose a directory backup destination"); I used tar cvzf backup.tar.gz $backupdir however this includes the absolute directory path (*1) so instead I attempted (out-with the script): tar ...
Okay, to be honest I had some difficulty to figure out the question at first. I think we sorted that in the comments. So you have $backupdir which contains the absolute path to the backup directory, plus $pathtodir which is a parent directory of the backup directory. You can now use string substitution in Bash as foll...
External Drive Letter - Backup
I am writing a PowerShell script that will back up several folders from my Vista drive to an external USB drive, using robocopy. Windows does not guarantee that it will always assign the same drive letter to the external drive. What is the best way to get around this problem? How do I code the destination paths? Thank...
Windows could change that drive letter assigned to your USB drive. The correct way to do this backup is mounting the USB drive in an empty directory. Not only does it add some consistency to swapped storage, it also allows for a persistent shortcut on a Windows desktop. That's how to: Run "diskmgmt.msc" from Windows'...
SQL Server Backup Command Error
I am trying to create a backup of my SQL Server Database in Visual Studio 2010. I am using the following command to back up the database: BACKUP DATABASE Db TO DISK = 'c:\server.bak' This is connection string that I am using. <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|D...
The problem is: your database db.mdf is not attached to the SQL Server Express instance - therefore, you cannot back it up. This whole AttachDbFileName=..... story is a bit tricky - and quite a mess, if you ask me. I would recommend to just forget about using that AttachDbFileName=... stuff, and instead: just attach ...
Bat file to copy a file everyday with the time stamp
I want to create a .bat file to create a daily backup of a file. This should also update the file name with the date or time. How can create this file? I ve tried a lot of different ways.. mcopy, xcopy.. etc. somehow.. it does'nt work.
1 You could accomplish this by using the task scheduler like this: schtasks /create /sc DAILY /tn Backup /tr C:\backup.bat Note: Type schtasks /create /? for more options. You can rename the file with the date by using this: ren C:\file.txt *. && ren C:\file. *%date:~-10,2...
Query SQL Server 2000 for table creation and alteration queries
I'm looking for a way to get all table creation and alteration queries attached to a database, in SQL Server 2000. Is this stored in a system table, or is there a built in method to remake them? Goal: to extract the schema for customizable backups. My research so far turned up nothing. My Google-Fu is weak...
Note that I don't know that there's a way to specify which filegroup a stored procedure is on (other than the default). So what you may consider, in order to at least keep the script repository backup small, is: create a filegroup called non_data_objects, and make it the default (instead of PRIMARY). create a filegro...
MySQL tools/tricks/scripts for rewinding DB changes
I'm trying to speed up a development task that I'm working on. I'm writing some code that is accessing and analyzing a large-ish MySQL database (about 5GB). I want to test my code as I go along. After making a code change, I need to try it out (which will do some inserts/updates/deletes on the DB). It'll take several ...
1 If you use a filesystem like btrfs or ZFS you can use filesystem snapshots to capture the state. If you keep a special partition for the database contents it should be easy to stop mysqld, go back to the snapshot and start the server again. Share Improve this an...
How can I keep a backup of my web application being developing live on web server?
I am using Coda to create a web application using CodeIgniter. I am hosting it live on hostgator and testing it as well. I want to know if there is a way to use some kind of Revision contorl or backup system like Github that would allow me to save my files and keep them updated without having to actually do the folder...
You can set up a remote repo at hostgator, and push changes to the remote using git, that doesn't require github, you can just do it from a repo locally on your machine. Here is a tutorial.
Cloning Oracle Database
I want to download and run a PROD DB on my local env. Are there any easy Gui Tools I can use to do this? I would rather not get into command line headache.
You're going to have to use expdp and impdp, sorry. You may be able to find a GUI tool that runs impdp like TOAD, but in the end, it'll end up executing expdp/impdp.
Backup a database mdf & Entity Framework
I have a database (mdf file) which I'm approaching with the Entity Framework. Is it possible to make a backup of the MDF file. I tried already but SMO but the problem is because I'm using a mdf file the database name is empty. I've read that it's autogenerated. Piece of my backup code: String destinationPath =...
I am missing something here and need more context, but I will rant on for a second and see if anything is helpful. Do you mean actually back up the file, not the data? If so, the easy answer is no. The problem is SQL Server will lock the file when it is attached to the database server (SQL Express in this case). You c...
Linux to Windows copying network script
I need to improve my method, or even change it completely, for copying files on a private network from multiple Windows machines to a central Linux machine. How this works is that I run the script below as a cron job every 5 minutes to copy data from say 10 Windows machines, all with a shared folder, to the central Li...
1 How about git repository? Wouldn't it be easier? You could easily also track the changes. Share Improve this answer Follow answered Jan 25, 2012 at 17:19 Michał ŠrajerMichał Šrajer 30.8k...
Backup server permissions
Currently I'm developing a control website for my home server. The server has LDAP setup for Mac's to login. The home directories are also on the server. I want to create a backup tool for my family, so they can backup while I'm off. I don't want to do this scheduled (at least not allways, since they must be able to s...
1 sudo is on OSX later versions. sudo rsync ..... Share Improve this answer Follow edited Nov 14, 2012 at 16:13 Anirudh Ramanathan 46.5k2222 gold badges133133 silver badges194194 bronze badges ...
Backup dirs and subdirs using Python; Use os.walk or filecmp.dircmp, or something else
I am a python newbie. My question is what approach I should use to set up a file/directory backup routine, as described below (os.walk or filecmp.dircmp, or something else). I want to set up a backup routine as follows: Every night, I want to make "bakup_dir_a1" (and all its subdirectories) into a mirror of "loca...
1 For the first step, take a look at the shutil module, starting with http://docs.python.org/library/shutil.html#shutil.copytree For the second step, filecmp.dircmp is a reasonable choice. For the fifth step, take a look at the archiving options in the tarfile module and z...
How to restore a database from a backup in installshield
I'm using MSI Project with InstallShield 2010. I have a .bak file, a backup of a SQL database (I am using SQL Server 2008 R2). How can I restore it using InstallShield? I was looking in SQL Scripts tab and I didn't find anything about restoring backups. Thanks for your time!
say suppose you have xyz.bak as a bakup and you want to restore it on to your sqlserver 2008r2 try running following query in ssms Restore database DatabaseName from disk='path of your bak file' this will restore your database.
Backup /data/system/xxxx.bin to /sdcard
I'm fairly new to apk development. So far, after a book purchase and with a lot of Googling I've managed to make an application that controls some features of my custom ROM. I'm currently trying to implement 2 backup features. I want to backup /data/system/batterystats.bin to /sdcard and also i want to backup launcher...
Download RootTools (the jar file). You can then run linux commands like this: RootTools.sendShell(command); For example to backup, you could do: RootTools.sendShell("cp -f /data/data/com.sec.android.app.twlauncher/databases/launcher.db /sdcard/directory/"); And to restore the file: RootTools.sendShell("cp -f /sdcard/...
What is the best way to take a back up of database every day at a specific time?
What is the best way to take a back up of database every night at a specific time (say 12 am) through Java code ? [Oracle database , Windows XP] I actually got asked this question in an interview.
1 It is better to schedule task on OS to execute some .bat (.sh) and do the DB back up. Share Improve this answer Follow answered Nov 16, 2011 at 10:31 Jigar JoshiJigar Joshi 239k4242 gold...
Problem when taking a backup of media files?
I've developed a Backup application. Now, it could takes backup for contacts, settings and browser I would take these backups by that host like Backup bu = new Backup(this); bu.runBackup(Contacts.People.CONTENT_URI); bu.runBackup(Settings.System.CONTENT_URI); bu.runBackup(Browser.SEARCHES_URI); I've ...
I've done this by my own Coding... bu.runBackup(Images.Media.CONTENT_URI); bu.runBackup(Video.Media.CONTENT_URI); bu.runBackup(Audio.Media.CONTENT_URI);
Get example program or tutorial for backup everything in android?
Where to get example program or tutorial for backup everything in android phone to database as files? any help is appreciated and Thanks in advance...
Unless the phone is rooted, you cannot access to other apps data. For more info looks here : http://developer.android.com/guide/topics/providers/content-providers.html http://developer.android.com/guide/topics/data/data-storage.html http://developer.android.com/guide/topics/security/security.html
open console (terminal) window and execute command (rsync) on os x
I am from a windows background and trying to help a mac user friend to backup her pictures, docs, etc. onto an external drive. In windows, I would accomplish this by creating a simple batch file with an xcopy command and have a shortcut on the desktop that pointed to that .bat file when double clicked. However, in t...
Create the batch file, which is usually called a shell script. Enter all the commands that you want to run. Set the executable bit, this is done with chmod +x path-to-the-file in Terminal. Show info for the script and set Terminal to the application which should open it. However, what I've done in similar situations...
how to delete extra files from backup with shell script?
A backup Shell Script #!/bin/bash backdest=/home/backup date=$(date "+%F") backupall="$backdest/arch-full-$date.tgz" backuphome="$backdest/jary_p-$date.tgz" tar -czpvf $backupall / --exclude=/home/* --exclude=/mnt/* --exclude=/media/* \ --exclude=/proc/* --exclude=/sys/* --exclude=/dev/* \...
1 ls -t $backdest/jary_p-*.tgz | tac | tail -n +3 | xargs rm And repeat with $backupall's glob Share Improve this answer Follow answered Jun 13, 2011 at 15:56 Seth RobertsonSeth Robertson ...
Quickbooks API for backup
Does anybody know if there is a Quickbooks API available that can be used to backup the Quickbooks company file?
1 There is no QuickBooks API call (either qbXML or IDS) to perform an automated backup of QuickBooks. Share Improve this answer Follow answered Jun 9, 2011 at 12:43 Keith Palmer Jr.Keith Pa...
VSTO Excel: Triggering automatic backups
I have a rather involved Excel add-in that's begun exhibiting some bugs after being deployed. This is not unexpected, but one of the bugs is proving really hard to reproduce (and therefore to fix), and it does lock up the application instance, potentially leading to loss of data. So I'd like to trigger an automatic ba...
Why not just invoke the Workbook.Save function for all sheets where Saved is false? Or maybe SaveCopyAs... I looked but didn't see anyway to forcible trigger the "backup" process, But, since you can query the AutoRecover object for a path, you could just use SaveCopyAs to do the same thing.
Error in postgresql 8.3 restore database
when i try to restore my database ,it shows error could not create large object 515025 in pgAdmin and command line as well its not working even if i am creating another backup any suggestion?
i got solution before restoring database i used to delete all tables, but when i delete whole database and create new one, then restore is done successfully
Incremental backups: how to track file deletions
I have an offsite backup solution which runs on C++ to break the files into blocks, and keeps track of the blocks using md5 hashes on a SQLITE3 database. And it transfers the blocks along with the database to a remote site. So, when I want to do a restore, it queries the SQLITE3 database and restores the blocks accor...
1 inotify with IN_DELETE? Share Improve this answer Follow answered Mar 25, 2011 at 14:58 Alexander PoluektovAlexander Poluektov 7,92411 gold badge2828 silver badges3232 bronze badges ...
s3sync automate amazon backup
I am really new to shell script etc. i am trying to get s3sync to work i have installed ruby with the rubyinstaller i am on windows and have been using the cmd prompt that you get after installing ruby. Can someone help me with these error?? C:\Sites\s3sync>s3cmd.rb listbuckets C:/Sites/s3sync/HTTPStreaming.rb:53:in `...
1 While I have not done a S3sync setup in windows, I have successfully written a CentOS / Plesk setup. This error looks very familliar, and it looks like your config files are not set up properly. I'd check the file you store the AWS credentials in, and then also check t...
How to back up multiple databases to seperate files with one command
Hey all, we have 2 web servers which may go offline Friday. we have ~90 websites hosted on these servers and I already have found a way to backup each website folder to its own .tar.gz file - what I need now is to find a way to export each database from our database server as its own SQL backup with one command. Curre...
You could mysqldump --all-databases but you'll get only one big SQL dump. Found this bash script: for T in `mysql -N -B -e 'show databases' -pYOUR_ROOT_PASSWORD`; do echo $T; mysqldump -pYOUR_ROOT_PASSWORD $T | gzip -c > $T.sql.gz; done You just have to test it and adapt the path/names to your needs.
SQL script to get table content as "SELECT * FROM tblname"
I want to take data base back up, so is there any sql script to take that, like how we use the sql script to get table content as "SELECT * FROM tblname" , Thanks in advance
1 Looks like hes talking about SQL Server 2008. To do a full database backup to File/Query you can use the 'Generate Scripts...' option on the Database. Open SQL Server Management studio, right click on the database and choose 'Tasks->Generate Scripts...' Then use the wizar...
Basic Software-Design Questions about backup-prog. in D
For some Webhost issues I have to write a file backup/syncronisation tool for a common OS in the server sector (Windows/Linux). Most Linux root-servers offers the ssh-interface for secure communication so I could use the SSH File Transfer Protocol, but what's the best solution on the windows side (on the fly) ? And ar...
rsync is a popular file synchronization tool, best suited to files being added, deleted, or extended. It's been very well debugged and is quite simple to set up. (rsync -avzP username@hostname:/path/to/source/ /path/to/dest/ or rsync -avzP /path/to/source/ username@hostname:/path/to/dest/ are common.) rsync is frequen...
How to migrate from bazaar working copy to git
Recently my Bazaar server broke. I'm left only with working copy of my branch. Is there possibility to migrate this working copy to git repository? Do I have chance to restore history of commits?
Isn't bazaar supposed to be a distributed VCS (scm, whatever)? You should have the entire repository along with that working tree. (that's how git/hg work) I may not understand your question, in that case the only thing you can do is git init with no chance to restore the history.
rdiff-backup increment contents (files added, removed, updated, etc.)
I haven't found any obvious answer to that question in the rdiff-backup documentation: is there a simple way to list the changes included in a given increment, i.e. which files/folders have been added, removed, updated, etc.? I'm not necessarily interested in the details of those changes (i.e. what was changed in a gi...
1 There is a directory named rdiff-backup-data in your destination backup folder which contains a lot of interesting stuff including files named like file_statistics.2011-04-08T16:50:20+03:00.data.gz which do have information about the files changed. Share Improve...
ANT build- Deleting multiple dirsets
I have added a target in a build file to delete backups that are older than 4 days by using a timestamp: <tstamp> <format pattern="MM/DD/yyyy HH:MM aa" offset="-4" property="backup.deletedate" /> </tstamp> <echo message="Deleting log directories created on or before ${backup.deletedate}" /> <de...
Seems the dirset collection was skipping non-empty directories. I overcame it by using a fileset for the entire backup dir: <tstamp> <format pattern="MM/DD/yyyy HH:MM aa" offset="-4" property="backup.deletedate" /> </tstamp> <echo message="Deleting log directories created on or before ${backup.dele...
if we only have access to phpMyAdmin what's the best way to backup the entire db?
For someone that is not used to mySQL, when using phpMyAdmin administration program, what is the recommended setup to backup the entire database with all tables and with data?
Most of those options are fine, but check the Structure -> "Add DROP TABLE..." and "Add CREATE PROCEDURE", then Data -> "Extended inserts" (this decreases loading time when re-inserting the data and isn't essential). Then click "Save as file" and export, the rest of the options are suitable.
Git as a remote backup and update system
I have a remote device which I access over a wireless and intermittent link. The device logs daily data, and I'd like to be able to get all updates in a robust way. I thought of using git for the purpose: I'd have a periodic job which would git commit all the logs on the remote At the local server, I'd git pull any n...
If you are concerned about using up space for the repository on the remote system, then I would suggest not using Git on the remote system at all. Maybe consider using rsync to sync between the local and remote systems. For keeping a history on the local system, you can then commit to a Git repository on the local sys...
Is there any way i restore database to last stable stage without having Back up file?
I have a software and at instruction I ordered Operators to backup software data(SQLServer2000 locally) regularly . But the operator didn't and by curious she restored database by the First backup (7 months earlier) . Now we have lost all software data ( database) . such a disaster . For more information software us...
1 You need a complete backup file to rollback your changes. If you do not have it you can not revert back. Does noone have a more recent backup? (localy placed somewhere on a server) Is there any other wy to retrieve the data (maybe developement code from repositories on lo...
Backup Sql Express
I would like to be able to run an on demand backup of a .Net MVC app's SQL Express 2008 database to eg a flash stick plugged into the machine running the app. I tried QuickstemDataContext db = new QuickstemDataContext(); string quickstem_path = Path.Combine(save_path, "quickstem.backup"); db.ExecuteCommand(string.F...
You'll find that if you add Database=Quickstem to your connection string, your backup code will work just fine. Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\quickstem.mdf;Integrated Security=True;User Instance=True;Database=Quickstem
SQL Server 2005 failed backup effect on transaction logs
I have an SQL Server 2005 instance whose full backup (.BAK) failed due to low disk space. However half hourly transaction log backups continue (.TRN). Assuming I have an older full backup, could these continuing transaction logs be used to restore the database? i.e. do the transaction log backups only run from the l...
I would have thought the failed backup would be rolled back, so the ongoing transaction log backups plus a full database restore prior to these, should be sufficient to restore a database. Having said that, I would fix this issue as soon as possible, it's not a good position to be in.
PostgreSQL Error: geometry contains non-closed rings
I am desperately trying to backup using pgAdmin III my database and I receive an error: geometry contains non-closed rings. How can I get around this??
1 Does it work from the shell? For example if you do the following, do you get the same error? # Dump global objects, such as user /usr/lib/postgresql/8.4/bin/pg_dumpall -g -U postgres > /backup/global.sql # Dump schema of database /usr/lib/postgresql/8.4/bin/pg_dump -Fp -...
Database Backup Robocopy
I have job that runs every 15 minutes that uses robocopy to copy a backup of the tranaction logs to a different server. This job is failing USER has full access rights to both home folder and the destination folder. JOB SQL: robocopy "e:\Backup\SQL02$PROD" "\SERVER\DRIVE$\prod\sql\backup\" /MIR /E /Z /NS /NFL /NDL ...
I have solved the issue Although the folder had permissions for the account to copy files accross it did not have share permissions set on the root drive. Link to share permissions tutorial
SQLServer 2008 : Name of backup file
I have a SQL server 2008 and I would change the name of the backup file. I use an SSIS package to perform my backups. The file's name looks like [DATABASE_NAME]_backup_YYYY_MM_DD_XXXXXX_XXXXXX This is automatically generated by SqlServer, and I want to remove the "_". How I can modify this ? Thank you in advance, Andy...
1 I have faced similar situation today and used following workaround. Use "Execute Process Task" to rename the backup. I created a batch file with following command and executed it after the Database backup task. ren BDNAME.bak DBNAME_%date:~-4,4%%date:~-7,2%%date:~4,2%.b...
Daily Backups for a single table in Microsoft SQL Server
I have a table in a database that I would like to backup daily, and keep the backups of the last two weeks. It's important that only this single table will be backed up. I couldn't find a way of creating a maintenance plan or a job that will backup a single table, so I thought of creating a stored procedure job that w...
1 You back up an entire database. A table consists of entries in system tables (sys.objects) with permissions assigned (sys.database_permissions), indexes (sys.indexes) + allocated 8k data pages. What about foreign key consistency for example? Upshot: There is no "table" to...
best way to take Backup of code and DB?
So what can be best way to have a Backup of code and DB is it downloading Locally via http ? But i fear it is security risk as some hacker might get access to it . I am looking into compress then encrypt the compressed file. But i dunno what encryption i should use and if linux CLI tool available for password protec...
If you're worried about transports, use SSH. I tend to use replication over an SSH tunnel to keep a MySQL database in sync. A backup of the version control server (which is not the same as the deployment server) is passed by rsync over ssh. If you want to encrypt files locally you could use gpg, which would of course ...
How can I enforce expiry day in SQL backup append?
If I make a database backup job, where I set Expire day = 2. Run this backup job once every day. How can I delete backup sets that are more than 2 days old? I'm Using SQL 2005 Express, so everything runs as script. This is the script running: BACKUP DATABASE [DatabaseName] TO DISK = N'C:\Temp\DatabaseName.bak' WITH ...
1 There is no way you can do it with Express edition. It has no SQL Agent Job Scheduling Service shipped with it. Please see table for comparison. You need to create batch script to accommodate this or upgrade edition. Share Improve this answer ...
Make backup of large site with 100,000+ files/images
I tried backing up our site today using the Unix 'cp' command and ended up getting our office blocked out by PLESK -> it added my ip to /etc/hosts.deny as it thought I was flooding the server. After Tech support fixed the issue, they suggested I go folder by folder to back it up, but there's about 10,000 folders on th...
You could try rsync with the --bwlimit option. Or you could do a one-off sneakernet backup with a USB drive and subsequently maintain the backup with rsync. As a general rule, always use rsync in preference to cp. It has many benefits, including the fact that you don't have to mount remote volumes.
SaaS Multi-tenancy Applications: How is data import/export/backup being implemented?
How are applications providing import / export (or backups) of data in SaaS based multi-tenancy applications, particularly single database designs? Imports: Keeping things simple I think basic imports are useful, ie CSV to a spec (or a way of providing a mapping between CSV columns and fields in the database. Exports:...
I don't know how it's done, but these are the possible scenarios: DB-per-customer schema-per-customer single-schema Case 1 is trivial in terms of backup/restore (or import/export), case 2 is similar. I would venture a guess that these 2 are the most used approaches. The third option makes export/import difficult, bu...
importing a project into a svn repository question
im using netbeans for svn. i open a project in netbeans and then i import it to a svn repo. it seems that although im only importing the project folder, svn creates .svn folders in all folders within this project folder. why is that? i thought that i was only creating .svn folders to checked out projects, not imported...
It sounds like importing the project also turned it into a working copy.
SQL Server differential backup to SQL statements
Is there any way to convert differential backup to SQL statements which will produce identical results when applied? Or any other solution similar to binary log in MySQL?
No. SQL Server differential backups contain those pages that have been changed since the last full backup. This will be completely unrelated to SQL DML statements that have been run and the data can not be extracted. What are you trying to do though?
How to backup and restore records in database (Oracle 10)
I have a table in Oracle for users. I am going to install new schema and want to backup all users with passwords and other fields. I tried exp and int utilities, but imp doesn't recover anything. I created temporary user in USERS table. Then I did backup with command: exp user_owner/password file=file.dmp table=USERS ...
The specific error you got on import is because by default it will try to create the table, not just the data in it. You can use the IGNORE=Y flag to avoid that problem. But it will try to insert all the users that existed, not just the one you deleted, which might cause you other problems. Or, it could fail for those...
Backup multiple Databases[MySQL] at 1 time?
Hi I have multiple databases need to back up daily. Currently, I am using cronjob to set a batch file to back it up. Here are my situation, I have about 10 databases need to backup, 3 of them are growing pretty fast, let me show you the current DB size: DB1 = 35 mb DB2 = 10 mb DB3 = 9 mb the rest: DBx = 5 mb My bat...
It depends on table type. If the tables are innoDB, then you should be using the --single-transaction flag so that the dumps are coherent. If you're tables are MyISAM, you have a small issue. If you run the mysqldump as is, the dump will cause the tables to lock (no writing) while performing the dump. This is obviousl...
SQL Server ETL process transaction logs
is it ok to set recovery mode simple in a staging db for an ETL process... The customer is not even doing a regular backup! So what's the point in keeping the transaction logs... I propose to organize a daily backup after the bulk import and that's it... Anything against this plan? Also the transaction logs were at 80...
Yes, I would use simple mode. In fact, I do... The data does not require "point in time recovery" so make life easier for yourself. Do you even need a full backup?
Restoring two databases from a single backup file (SQL Server 2005)
I have a .bak file which contains backup sets of two different databases. It was made by sql server maintenance plan. Now I have to restore both databases. The problem is, that while the first database is restored ok (db_companies) the other database (db_data) gives an error: Restore failed for Server 'SBSERVER'. ...
After doing some intensive research, I finally found out that this is a bug in sql server 2005. After I installed the SP3 everything went fine.
Oracle 10g Backup & Restore
Here is the scenario: Oracle 10g database running Windows Vista Business. This is a production/live db. Nightly backups (Whole database, online backup, ARCHIVELOG mode) moved to different machine on the network. Hard disk dies. Setup OS and Oracle 10g on the new hard drive. Oracle does not have any db instances yet...
The ability to recover a database is the most fundamental responsibility of a DBA -- All else amounts to nothing if data is lost. If you have limited knowledge of the recovery process and you are in charge of recovering a production instance, my first suggestion would be to contact support : you don't want to make a m...
How to store certain number of backups in backup file
I have everyday schedule to backup my database in sqlserver 2005. Now it's looks like this: BACKUP DATABASE [db1] TO DISK = N'D:\SqlServer\Backup\db1.bak' WITH NOINIT , NOUNLOAD , NAME = N'db1backup', NOSKIP , STATS = 10, NOFORMAT But in this case, it's will grow infinitely and I want to store only last 7 back...
Assuming you want to re-initialize the file every sunday (you can change this to your favorite day of the week) you can use the following: declare @init_option nvarchar(50) declare @cmd nvarchar(1000) set @init_option = 'NOINIT' IF (datename(dw, getdate())) = 'Sunday' set @init_option = 'INIT' set @cmd ='BACKUP DATAB...
Database backup - differential file size question
For my backup plan for SQL Server 2005, I want to do a full on Sunday: BACKUP DATABASE myDatabase TO DISK = 'D:\Database Backups\myDatabase_full.bak' WITH FORMAT GO Then I want to do a differential nightly the rest of the week: BACKUP DATABASE myDatabase TO DISK = 'D:\Database Backups\myDatabase_Diff.bak' WITH DIFFE...
1 i must say at first i would have thought like you about the differential backup size ... so i had to check it up... from what i could read : The downside is if you run multiple differential backups after your full backup, you're probably including some files in each diffe...
Backup and Recovery Scenario
Can anyone show me the step of restore and recovery of below scenario? I have used the differential backup (cumulative) everyday. RUN { RECOVER COPY OF DATABASE WITH TAG "whole_database_copy"; BACKUP INCREMENTAL LEVEL 1 CUMULATIVE FOR RECOVER OF COPY WITH TAG "whole_database_copy" DATABASE; } I have copies of al...
Contact Oracle support right now.. Unless you can afford to lose this data, don't mess about with listening to what people on forums have to say, now is not the time to experiment.
Version Management / Backup solution
This is not strictly a technical question, however I feel this will be useful for many technical people as well. I'm looking for a version management / backup solution which need not be only for source code. This could be for non-text files e.g. images. The requirement is this - Every time I save the file from within...
1 Pretty much any version control system i know of supports binary uploads. Subversion (in short SVN) is free and pretty popular. If you also download TortoiseSVN you can handle everything from within Explorer. The only requirement i cannot help you with is 1. automatic sav...
Sql Server Backup Sizes
Does anyone have real world experience of backup compression in Sql 2008, I'd like to know how it performs compared to Sql 2005 + winrar. Currently when I back up a I get a 14G file. Using rar shrinks it to <400M, a massive saving. Most of the data is similar, being figures from the stock market so I guess that makes ...
The figures I have seen suggest compression ratios in the range 3 - 4.5 times smaller, which is not as good as the figures you quoted for rar. See Tuning the Performance of Backup Compression in SQL Server 2008. On a side note, creating compressed backups is faster.
sql server 2000 backup directly to a separate server
SQL Server 2000 on Windows Server 2003. I am trying to run a backup, from within EM, directly over to another server, as follows: backup database AbraEmployeeSelfService to disk = '\\servername\f$\Backup\myDB_backup.bak' I get this error: Cannot open backup device '\\servername\f$\Backup\myDB_backup.bak'. Device err...
What user account is the MSSQLSERVER service running under? I believe LocalSystem is restricted and cannot access remote resources.
How to recreate an oracle 9i database from backup files (ora files)
I'm a developer so I'm a little lost in the DBA world. Our systems guys have given me a backup of an Oracle 9i database. I have installed oracle 9i on my pc and am now trying to 'import' the backup files so I have a normal database to work with. The backup folder has on SNCF[SID].ora file and around 150 [SID]-[Date]...
1 OK, first things first. Exactly what version of Oracle was the backup taken from? 9i is a marketing label-- we need the full 4 digit version number (i.e. 9.2.0.4). Is your PC running exactly the same version of Oracle? Is your PC running exactly the same operating system?...
Oracle: How to setup a database backup to a network drive
Oracle database 11g. What is the easiest way to set up a full nightly database backup to a network drive (ie drive on another computer)?
1 Read the backup and recovery guide. Don't just backup... Make sure you test your backup, regularly!! Share Improve this answer Follow answered Oct 8, 2008 at 8:35 Matthew WatsonMatthew Wa...
Backup tool for Microsoft Virtual Server 2005 R2?
I am seeking a backup tool to back-up virtual OS instances run through Microsoft Virtual Server 2005 R2. According to the MS docs, it should be possible to do it live through volume shadow copy service, but I am having trouble finding any tool for any. What are the best solution to back-up MS Virtual Server instances?...
I'm personally fond of using ImageX to capture the VHD to a WIM file. (This is called file-based imaging, as opposed to sector-based imaging.) WIMs are sort of like an NTFS-specific compression format. It also has a single-instance store, which means that files that appear multiple times are only stored once. The ...
How can i create backup/restore in React Native project?
I created a React Native app for personal purposes and this app is about books. I don't use any back-end for my app. I just have a JSON file in which all book info is stored in there. now for avoid data losing, I want to create backup & restore feature in my app. I need to create a backup file and save it on my mobile...
0 You could use expo-file-system and save info to documentDirectory or cacheDirectory. The content for writeAsStringAsync should be string. Hence, you might need custom readParseAsycn and writeStringifyAsyc expo-file-system: local storage methods and constants with custom r...
Azure VM Backup Taking Longer Than Expected
I am taking backups of my Azure VM using Azure Recovery Service Vault. When I checked the backup recovery points, I noticed that it's taking a time up to 4 to 5 hours, but initially, it only took a snapshot for 10 minutes. It is a scheduled backup that runs once a day during off-hours By getting it's more details hav...
What is difference between Snapshot and Transfer Data to Vault? Is this the default behaviour, or could there be a specific reason for this duration? While taking the Backup of VM to Recovery Service Vault contains two stages 1.Snapshot ensures the availability of a recovery point stored alongside the disks, making...
Get short-term database changes on database move
Database DB_B is a copy of DB_A. DB_B is less than an hour old but DB_A is live until the users are switched over to DB_B. How do I track the changes made during that interval? I will know the time that the copy was made. I can't be adding extra columns or tables to DB_A unless they are small changes and/or don't affe...
0 This sounds like a job for transaction log or replication. https://blog.pythian.com/monitoring-transaction-logs-in-postgresql/ https://www.cherryservers.com/blog/how-to-set-up-postgresql-database-replication Or, triggers might also work: https://www.postgresql.org/docs/cu...
What is the best way to create an offline backup of a git project (Unreal Engine)?
I've just started using Git and GitLFS for version control on game projects that I'm making with the Unreal Engine. These projects use a lot of large binary files and so they're expensive to store on an online server for long periods of time. Accordingly, I want to make offline backups of my project that contain all f...
You can backup a copy of your folder containing your git project, that's it. Later if you want to have it on a new remote repository you could change your remote: git remote set-url origin https://github.com/OWNER/REPOSITORY.git If you worked only locally you add the remote: git remote add origin https://github.com/O...
how to backup raw- / kvm-device directly over the network
I have setup some VMs on a Hypervisor. Each of which is using a raw LVM Volume as disk. This way I can use LVM Snapshots to prepare a backup. Up to this point that is working and the only missing piece of the puzzle boils down to: How can/should I do something like this with ansible: dd bs=16M if=/dev/h-vg/vm-dev | ss...
0 To answer the question straight: There is no way in ansible to do something like the above without the usage of the shell module. This comes with all the downsides when using the shell module what shouldn't be used unless there is absolutely no other way around. However, ...
Import export of MongoDb database from local instance to Mongo Atlas
I want to import a DB into the Mongo Atlas from my managed mongo instance(which is managed by us). The backup is in the form of BSON. Want some hints, how can I do that. MongoDB - 6.0 Thanks, Atul
0 Found the steps: Take the backup of existing DB. mongodump --host [IP ADDRESS] --port [PORT] --db [DB NAME] --authenticationDatabase [DB NAME] --username [USERNAME] --password [PASSWORD] --out [BACKUP DIRECTORY] Once the backup is ready, copy it to Atlas using this. mon...
barman does not accept parameter 'target-time'
I try to recover a barman backup, and I want to use the parameter target-time. But barman does not accept this parameter, even if I use it in the same manner like many sources I found. The whole output: barman@BKUP-XXX:~$ barman recover --target-time '2023–04–22 00:00:00.000000+02:00' --remote-ssh-command "ssh postgre...
The --target-time option should accept any timestamp allowed by the PostgreSQL recovery_target_time parameter. Your particular --target-time value is using en dashes (–, UTF-8 code: E2 80 93) instead of hyphens (-, UTF-8 code: 2D). If you replace the dashes with hyphens then the timestamp will be accepted, e.g.: 2023-...
Is it necessary to take a backup of the system_schema keyspace?
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 keyspaces (cqlsh DESC keyspace) on all cluster nodes restore: create keyspaces (cqlsh) restore schema.cql of all tables...
0 No, not necessary. Maybe consider exporting the tables in the system_auth keyspace if you want to be able to recover your user data. But as long as you have that and your table CQL, there's nothing else you need to save or backup in the system keyspaces. The node will r...
Question of SQL backup database to destination folder by bat file
I use a bat file to backup databases to destination folder as below. @ECHO OFF SETLOCAL REM Get date in format YYYY-MM-DD (assumes the locale is the United States) FOR /F "tokens=1,2,3,4 delims=/ " %%A IN ('Date /T') DO SET NowDate=%%D-%%B-%%C REM Build a list of databases to backup SET DBList=D:\SQLDBList.txt SqlCmd...
you can modify your backup command to include the WITH INIT option REM Backup each database, prepending the date to the filename FOR /F "tokens=*" %%I IN (%DBList%) DO ( ECHO Backing up database: %%I SqlCmd -E -S ERP2 -Q "BACKUP DATABASE [%%I] TO Disk='D:\SQL ERP2_Backup\%%I.bak' WITH INIT" ECHO. ) any existing...
How to include "CHECK" constraint to backup done via phpMyAdmin?
When I export my database from phpMyAdmin (quick method), it does not include CHECK constraints. However, when I run SHOW CREATE TABLE table, I see the constraints. Moreover, foreign constraints are backed up. In addition, when I take the backup using mysqldump, CHECK constraints are included in the file. Is there any...
CHECK constraints are not yet supported by the latest phpMyAdmin version 5.2.0. This is overdue, because CHECK constraints have been supported since MySQL 8.0.16 (2019-04-25) and MariaDB 10.2.1 (2016-07-04). There are issues showing that they are aware of the feature request. https://github.com/phpmyadmin/phpmyadmin/...
Docker Desktop Backup
I need advise, how to backup Docker/K8. I am migrating my dev/lab environment from VMWare to Docker (which I am not 100% familiar yet) and I need to set up backup/restore procedure. It was quite simple with VMware images (copy all VM files). I would like to backup "whole Docker desktop" or in other words, I nee to mak...
0 First you need to build images of the existing containers that you are using, next docker save command can be used to save all your docker images but you need to mention each image name manually which you don’t want to do, however these docker commands can be executed by ...
When does Docker Redis store on a volume?
When does Docker Redis store on a volume? That store it on a volume every command? I want to know when Redis will be backed up.
Redis persists data to disk based on configuration. There are config options to persist every command or periodically and in different formats (RDB or AOF). To understand how Redis data gets backed up, please go thru this link https://redis.io/docs/management/persistence/. In your case, since Redis is running inside D...
How to migrate entire gitlab project?
I want to migrate the group, all sub-groups and projects from gitlab.com to a self contained gitlab instance(local). I can migrate the group and sub-groups but not the projects. The documentation says this, but I'm not able to 100% understand it: On self-managed GitLab, migrating project resources are not available b...
0 If you're on a self-managed instance of GitLab, and you have administrator rights (or rather the ability to access the rails console), then you can follow the instructions in documentation you linked to. Basically, you need to turn on the feature flag by starting the rail...
Hourly Backup Firestore Databse
I need to back up my prod server Firestore DB hourly. I know about exportDocuments but it incurs one read operation per document exported. I have more than 3 million and these are increasing day by day. Is it possible to export docs that are added/updated in a given period like the last 1 hour? I already have Cloud Sc...
0 If you need to schedule some operations in Firestore, you can consider using Cloud Scheduler, which allows you to schedule HTTP requests or Cloud Pub/Sub messages to Cloud Functions for Firebase that you deploy. If you need to get the documents that are added/updated in...
How can I restore a downloaded Zoho Creator backup file on a separate Zoho profile?
Good day all, For the purposes of Business Continuity I have investigated whether I can download a backup file from one Zoho instance / profile, to another brand new Zoho Creator instance / profile. The idea is to mitigate risk if my main profile is somehow ransomed or hijacked. But from what I can see, there is no op...
While I'm not sure about using one of the backup files, it is possible to export an application schema to a deluge file from one account and create an equivalent application on a different account by uploading the deluge file to the new account. Settings->Application IDE->Export Note, the data won't be included in th...
The dump file is not applied to the database (Rails, PostgeSQL)
I am applying a database backup file to my Rails project, but objects are not created in my database (The dump (backup) file is at the root of the project) My backtrace: sorry if it's too big, cut a lot $ rake db:drop Dropped database 'project_development' Dropped database 'project_test' $ rake db:create Created data...
There is a possibility that the Dump file is empty. Check its size, the presence of data in the file itself, whether the format is correct. In my case, most likely this solved the problem
Rclone Compression | zip | rar and data transfer [closed]
Closed. This question is not about programming or software development. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily use...
0 Rclone can't compress the files, but you can instead use a simple code to zip or rar the files and then use rclone to back them up to AWS. If this is OK, I can explain the details here. Share Improve this answer Follow ...
adb backup aborts with timeout on samsung s10+
I tried to do a backup of the storage of my Samsung S10+ by the adb backup command: adb backup -shared. The backup starts and file size increases until about 4.8 GB. Then there is a message on the phone display (after 10 minutes or so) that says: Timeout. Operation aborted. Anyone knows how and where to increase the t...
0 if you have RealCalc installed, it was the place my backup would timeout. I uninstalled, and backup completed. Share Improve this answer Follow answered Sep 15, 2022 at 1:29 BernBern ...
From SQL Server 2014 to SQL Server 2019 - No backupset selected to be restored
From a Windows Server 2012 / SQL Server 2014, I backed up a database to a NNNN.bak file on a network drive. When I log in to my new Windows Server 2019 / SQL Server 2019 and try to restore that, I get the famous No backupset selected to be restored error on the upper-left corner of the screen when I select a NNNN.ba...
0 Using the network path provided by the company R:\erts..\nnn... failed. restore succeeded using server on the same network with \\Qdata...\nnn.. path as shown in the screenshot. Share Improve this answer Follow ...
"Not Found" Errors on every page except homepage in Drupla website
I have a backup of a Drupal website which is running on a live web server CentOS 7. I have to restore this site on localhost. I have restored database successfully and website folder on localhost, but I am getting "Not Found" error on every page except home page. I am trying to resolve this issue for one month but una...
0 After so many struggle it was found that it was a problem PHP version running on live server machine and localhost machine. Now after matching PHP version on localhost it is running fine on Windows localhost but again struggling on CentOS7. Share Improve this ...
How to create backups from user interface CRM?
i am trying to make a backup option for my CRM. I have install this package https://spatie.be/docs/laravel-backup/v5/taking-backups/overview and i am using laravel 6^. I can backup my db and all system configuration with this package if i run backup:run from Terminal but this is not all i want. What i am looking for i...
Calling Commands Via Code Executing an Artisan command outside of the CLI. For example, you may wish to fire an Artisan command from a route or controller. You may use the call method on the Artisan facade to accomplish this. The on your controller you can do this: public function createBackup(){ Artisan::call('backu...
Trouble creating Velero storage location with storage access key
i'm trying to use Velero to backup an AKS cluster but for some reason i'm unable to set the backup location in velero. i'm getting the error below I can confirm the credentials-velero file I have obtains the correct storage access key, and the secret (cloud-credentials) reflects it as well. Kind of at a lost as to wh...
turns out it was the brackets in the install command that was causing the issue --backup-location-config resourceGroup=resourcegroupname,storageAccount=storageAccount,storageAccountKeyEnvVar=AZURE_STORAGE_ACCOUNT_ACCESS_KEY[,subscriptionId=numbersandlettersandstuff] \ removed the brackets to this: --backup-location-c...
RebaseData to read backup files
So i am trying to read a .bak file, and from googling, it seems rebase is the way to go, however i keep getting traceback error Traceback (most recent call last): File "C:filepath", line 1, in from poster.encode import multipart_encode File "C:filepath\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\loca...
0 It appears that the poster module is trying to use the Python 2 type print "x" syntax instead of the Python 3 print("x") syntax. You are possibly trying to use the wrong version of poster. There's a module called poster3, maybe give that a try. Share Improve thi...
Copy Azure Files to Amazon-S3 bucket
I would like to copy a directory (with all its sub files, folders etc.) from azure file storage (not azure blob storage) to an aws s3 bucket on powershell. So : Azure Files -> Amazon Web Services (AWS) S3 What I tried : using Rclone but rclone only takes into account blob and not file storage for the moment (see here...
I thought of an alternative that works. The idea is To mount the azure file storage on disk. So it's not really "local" but rather a shared file. (here) I use Rclone to copy to S3 from the local path to the mounted disk.
How to setup a Solr backup to S3 in 8.10 version
I’m, new in solr so let me know in case I’m missing anything here. I’m following this guide but no luck so far - https://solr.apache.org/guide/8_10/making-and-restoring-backups.html So, what I’ve done at the moment In solr.xml I’ve added a backup section <backup> <repository name="s3" class="org.apache.solr.s3.S3B...
0 You have to copy in all of the jars from the contrib/s3-repository/lib folder in addition to the plugin jar from dist/ Share Improve this answer Follow answered Nov 29, 2021 at 14:59 Mi...
Batch File DIR Command to Text File Without Overwrite [duplicate]
This question already has answers here: How do I get current date/time on the Windows command line in a suitable format for usage in a file/folder name? (30 answers) Closed 2 years ag...
You will be told there are umpteen duplicate ways to do this so in this 22 nd year of the 1st century :-) Windows has no native way of returning a sequential Iso Date the primary answer will be use powershell and for my locale it needs to be called in a suitable format, introducing a delay. powershell get-date -format...
How can I download zip/tar.gz files for all my gitlab repos?
Background I'm looking to make backups of the code that i have hosted on gitlab. I only need the zip/tar.gz files, not the whole code history. (I have many repositories there so it wouldn't be practical to do this manually) My OS is Ubuntu 21.04 Question How can I download zip/tar.gz files for all my gitlab repos? Wha...
0 I found ghorg which works with GitLab and clones all repos ghorg clone <gitlab_username> --clone-type=user --base-url=https://<your.instance.gitlab.com> --scm=gitlab --token=XXXXXXXXXXXXX I would still like to find a better option, which downloads the tar.gz files rather...
Android auto backup - how to know when the last backup was made?
I am using the Android AutoBackup feature in my app. These are my manifest settings. <application android:allowBackup="true" android:fullBackupContent="@xml/backup_rules" android:fullBackupOnly="true" Is there a way to know when the last backup for my app was made?
0 The only thing I have found says this: schedule Backup documentation Frequency Apps must issue a request when there is data that is ready to be backed up. Requests from multiple apps are batched and executed every few hours. Backups happen automatically roughly once...
Where does kubernetes store the cluster data other than etcd?
I am trying to take a backup of the Kubernetes cluster without using any third-party applications. I tried backing up /var/lib/etcd, But etcd is only changed when there is a change in namespaces. There is no change in etcd when there is a change in pods or replica sets. Is there any other location where Kubernetes sto...
0 You can backup your Kubernetes cluster by command: etcdctl backup. Here is completely guide, how to use etcdctl backup command. Alternatively you can also make a snapshot of your cluster: etcdctl snapshot save. This command will let you create incremental backup. Increm...
Creating efficient, fast, incremental InfluxDB database backups
I have a raspberrypi (4b) running Raspbian Linux, collecting IoT data around the house and feeding this into an InfluxDB 1.8.3 (opensource) database. This works fine so far. I also have a backup which runs daily like this: influxd backup -portable /home/pi/influx-backup/ Question: This backup process takes almost 30...
0 Acording to this site: InfluxDB also has support for incremental backups. Snapshotting from the server now creates a full backup if one does not exist and creates numbered incremental backups after that. DataSource If this is the case, but you are still having a problem...
GitLab Backup no space left on device
I have to migrate our old GitLab server to another one. Therefore I tried to create a backup using the following command: sudo gitlab-rake gitlab:backup:create SKIP=uploads,artifacts,builds During backing up the repositores I get the following error: Error No space left on device rake aborted! Backup::Error: Backup o...
0 Starting with version 16.1 there is a solution to exlude repositories from rake backup task. You can do this with the parameter SKIP_REPOSITORIES_PATHS: sudo gitlab-rake gitlab:backup:create SKIP=uploads,artifacts,builds SKIP_REPOSITORIES_PATHS=toolbox/gitlab-smoke-tests ...
Azure App Service SQL Database Backup Fails
I am having issues creating a backup of SQL db with my Azure App Service. In the Azure Portal, when I go to backup I am seeing this error: Create Database copy of [database] threw an exception. Could not create Database copy. Make sure to use the admin user in the database connection string. I get this error means t...
First, we can not add permissions to the user in master db, when we try to do this, it will give us the error it does not exist or you do not have permission. master db is usually used to create login. Please switch to user db. We can use the following T-sql to create an AAD user. Then AAD user can login to the UserD...
How to set a custom number of backup backend servers in HAproxy?
Let's say I have 3 main servers and 3 backup servers. I want HAproxy to replace a main server with a backup server as soon as it goes down. To elaborate, let's say Main Server 1 goes down, HAproxy will then still continue to use 3 servers in total, where 2 will be main and 1 will be backup. Similarly, if 2 main server...
0 You can use the backup directive on the server line and option allbackups in the specific section. You maybe can also add the weight for the server to define which backup server should be used in priority order. Share Improve this answer ...