Prompt
stringlengths
14
160
Instruction
stringlengths
18
2k
Response
stringlengths
8
2k
Should I add (check in) my project management system backup to repository?
I installed and set up Redmine project management application. Now I need to setup its backups (which include database dump + "files" directory). But I have a question: Do I have to check in my Redmine backups into my SVN repository or not?
1 I don't think it's a good idea to put backup files in subversion. Subversion is designed as a version control system, backups don't need to be version controlled. Instead include the redmine backups in your normal backup schedule, and also make sure the Subversion reposit...
set key with new bulkloader
I am converting a script to use the new bulkloader. (What was wrong with the original bulkloader? - I prefer writing Python to editing configuration files...) Anyway, I want to prevent duplicates by assigning a combination of properties to the key. The docs say: If you want to use or calculate a key from the import...
You can do this using the 'import_template' property (documented here) instead of 'import_transform': - property: __key__ import_template: "%(first_name)s %(last_name)s"
Writing a script file to create a new folder based on the current date
CentOS 5.3 I have a script file that works for backing up a repository and I am using rsync to copy the contents to the source directory. I have a crontab job that runs every night at 12am that calls my script file. repos_backup.sh rsync -razv [email protected]:repos /home/backup_sys_user/repos_backup However, this p...
You can use: date +%m.%d.%Y To get the current date (e.g. 10.10.2010) To include it within a command, you can do: mkdir ~/myuser/`date +%m.%d.%Y`/backup Note that the those are tick marks.
how i can take backup of file on UNIX-AIX?
how i can take backup of file on UNIX-AIX ?
Depends what you mean. Backing up a file could be as simple as copying it somewhere else. cp myfile /my/backups/myfile.bak
Selective tables/objects Oracle Backup
I need to automate a selective table / user object backup I currently am doing via PL / SQL Developer. The way I currently do it is via Tools/Export Tables and Tools/Export User Objects, manually select tables / objects, then set the options, choose destination and export. I do this from a windows laptop and the datab...
1 I wouldn't really call it a backup, but look at exp/imp and expdp/impdp (data pump) in the Utilities manual Share Improve this answer Follow answered Sep 9, 2010 at 0:06 Gary MyersGary My...
How to execute BACKUP DATABASE query from grails?
I want to backup HSQLDB from grails, Here's the command BACKUP DATABASE TO 'C:/BACKUP/' BLOCKING But how to do this in GORM where all seems Entity related even executeQuery ? Thank you for sharing your experience :)
1 Here's one way that still uses groovy, but not GORM. Since it is not related to a specific object, I wouldn't be concerned that you aren't using GORM. You can of course also drop down into java JDBC directly. def conn = new groovy.sql.Sql((java.sql.Connection) AH.app...
Remote backup solution for openSuSE
I'm looking for some backup solution. My request is pretty simple: Source - FTP credentials (ftp://user:[email protected]/dir1/dir2) Destination on local HDD (/var/backup/server-tld) Possibility of packing to archive (tar.gz/zip) Plan this "script" as a cron job with defined period (e.g. once a day) I know, that all...
I've finally found a really "simple-to-use" solution: ncftp http://www.cyberciti.biz/tips/linux-download-all-file-from-ftp-server-recursively.html
Export only new data since the last PostgreSQL database export
I have a decent sized PostgreSQL database (approx 6GB & growing). A full backup/export of the database is done every few hours via cron & pg_dump. Specifically, can I export only the changes to the database since the last export? Or perhaps run a utility that compares the two exports and appends the differences to t...
1 No, you can't. What you could do, is setting up WAL archiving to make incremental backups: http://www.postgresql.org/docs/current/static/continuous-archiving.html#BACKUP-ARCHIVING-WAL This can only be done for the whole cluster, not for a single database. Share ...
Browser script to automatically copy a "locked" file from a user's system (Windows)
For an automated web-backup solution we're thinking of, how can we access and copy a "locked" file from a user's system onto our webserver? This is of course with the user's permissions. Just seeking code that demonstrate this. Added: I know where the file is located, I do NOT want to prompt the user to select the fil...
You could use Java applets: http://www.captain.at/programming/java/
Backing up and restoring a sharepoint content database across two machines, hosed my sharepoint app
I have sharepoint sites provisioned on two machines A and B. I would like to take the content database from machine A and restore it into the site on machine B. I used SQL backup to backup machine A's database, and restored it to machine B, overwriting the existing content database. However, my sharepoint site became ...
You need to tell sharepoint where your new database is. just go to the content database management page on central administration. there you will see your previous database mapped to the web application. remove it and and the new database. it will map the web app to it and your sites will come back. be careful when en...
How to use mysql dump in php
I've tried using mysql dump in the command line and it worked. How do I do it in php? I found this code from the internet, and tried it. <?php ob_start(); $username = "root"; $password = "mypassword"; $hostname = "localhost"; $sConnString = mysql_connect($hostname, $username, $password) or die("Unable to connect ...
system($command); executes the external mysqldump command. I don't really understand the script you pasted, it looks like a mixture of two scripts? Anyway, the syntax errors in the dump file probably mean that you have a version mismatch (4.x running on the target server?). Use the compatible switch to generate dump ...
SQL Server backup causes recent table records to disappear for one table
I just noticed two months after switching out a backup drive that one table in one of the backed-up databases is losing records past a certain point. The database is backed up weekly. Prior to the new drive, the table had records from 3/11/2010 to 6/8/2010. After the first backup ran, the table was missing all records...
Creating a database backup will not cause rows to be deleted. Something else must be happening to cause that behavior. Do you know that the rows disappear at (about) the same time as the backup is being made? Perhaps within +/- minutes, hours, or days? Can the problem be replicated, or does it appear to occur randomly...
Generation of backup puts my website down - is there an easy solution?
On my database server there is a cronjob that backups all the databases in a way that makes it easy to restore them. It is something like this: 0 5 * * * /usr/local/bin/backup.php The problem is that the website (using that db server) is very slow during that process. Even, Pingdom sends me a 'website down' alert at ...
1 You could put a delay in your backup.php script that ensures a maximum backed up records per second rate or similar, ie using sleep(). Share Improve this answer Follow answered Jul 12, 2010 at ...
oracle rman simple backup
I would like to backup an Oracle 10G as simple as possible. It is in NOARCHIVELOG mode and I can shut down for backup (it is only a development server). After reading tons of documentation abour rman I tried this way in rman: shutdown immediate; startup mount backup database; sql 'alter database open'; As I see it wo...
1 The "restore database;" command will read the backup from the backup media media so that your database files are exactly like they were when the last backup was taken. It does not restore control files. The "recover database;" command will apply incremental backups (not ...
incremental backup of folder in linux whilst retaining attributes/ownership
I'm trying to backup a folder (e.g) /web/sites to /backups/websites and retain attributes, etc. cp -Rp retains the information, yet isn't incremental rsync -va seems to be great for incremental yet doesnt retain the attr/owner Is it possible to tar, and pipe it through and untar whilst retaining attr/owner, if so, ho...
cp -pur seems to do the trick!
Coldfusion and mySQL - seeking recommendations for general and off site backup strategy
CF9, Windows Server 2008 Standard, IIS7, mySQL 5.1.48 community. I have managed to get CF to take a database mySQLdump which I was going to run as a nightly cfschedule task, with a server time based lock on the application controlled in application.cfc That will get me a local copy, but whats the best strategy to enc...
For my personal sites, I use a ColdFusion scheduled job that runs a mysqldump, and then stores the updated backup in a dropbox account. I've never bothered encrypting the backups, though that does seem like a potential hazard. What if the encrypted file becomes corrupted? Then you can't even get a partial restore from...
user's account backup and restore
I am currently working on a project and i would like my users to be able to backup/restore theirs accounts. I am looking for a rails plugin/gem that would easily do that, ie : current_user.backup() => backup_file current_user.restore(backup_file) => database import/replace I don't know if my question is very clear, ...
1 There's no such gem b/c user data is very specific to each project. You will have to write it yourself. Share Improve this answer Follow answered Jun 17, 2010 at 8:38 zed_0xffzed_0xff 32...
Secure way to backup MySQL databases?
What is the best/secure way to backup a mysql database on windows server (2008)? I have "MySQL Administrator" but that requires that you save passwords for backup project. I'm not keen on doing as anyone gaining access to the server would then have easy access to the database. Can you do anything similar to SQL Server...
1 Your backup user need the RELOAD privilege and SELECT+LOCK TABLEs for each schema you need to backup. The easiest way is to create a user bound to localhost only (eg. back@localhost) and use SSL certificates to authenticate user against the server (if your mysql installat...
Is my TFS2010 backup/restore hosed?
I recently set up a sandbox TFS to test TFS-specific features without interfering with the production TFS. I was happy I did this sooner than I thought--I hadn't been backing up the encryption key from SSRS and upon restoring the reporting databases, they remained inactive, requiring initialization that could only com...
From the TFS Admin console, have you tried going into your Reporting section underneath the Application Tier? There is an option for "Start Rebuild", which should rebuild your warehouse, models, and reports based upon what is currently in the TFS database(s). If that does not work, you could always try stopping the j...
How to extract files from Plesk backup under Windows?
I created a backup file in Plesk panel, downloaded it. Renamed file to .zip and uncompressed with WinRar. Opened unzipped file in Thunderbird email client and extracted "site.httpdocs" file. How do I extract actual files from it? It seems like it is some sort of text document with all files dumped together. Thanks....
I've made a tool for this here http://andymdn.com/2010/10/11/pleskdump-a-plesk-backup-extraction-utility/. Hopefully it helps you.
Backing Up Database from Remote Server to Local in VB.NET
I am making a VB.NET application that can download/backup the database that is currently on a remote server. I have Remote Server IP,Username,Password and Database name. I am also able to connect to it. But i don't know what to do after connecting to it. I don't know what all files are need to be backed up. ( i think ...
1 Assuming it's a Microsoft SQL Server Database, then you can backup the database to a single file using the BACKUP DATABASE command. Backing Up: http://msdn.microsoft.com/en-us/library/ms186865.aspx Restoring: [same URL as above, not got enough rep] /ms186858.aspx Backup E...
Backup Stored Procedures
What is the query to backup the stored procedure of a database in SQL Server 2000?
1 In SQL Server 2000, you can use this query to list out the complete text of stored procedures, they can span multiple rows. SELECT o.name,o.id,o.xtype, c.colid, c.text FROM dbo.sysobjects o INNER JOIN dbo.syscomments c ON o.id = c.id WHERE o...
spring roo backup command lost my files
I generated spring roo project and modifies .jspx files to my styles. Unfortunately, when i used the backup command, spring roo was auto-generated files to the original one. Thus, my .jspx files are noy my styles. How should i do to recovery my files back from this command.
1 Check the comment in this JIRA-Issue about "Adding field overwrites changes in *.jspx". By default, the automatically created views (.jspx) are maintained by Roo. You can turn this off by setting "automaticallyMaintainView = false" and edit everything freely (of course, ...
MySQL Wrong Restore Data Recovery
I'm almost certain about the answer, but the situation is so critical that I have to ask this question even though I'm %99 sure about the answer. Someone in our office made a backup of a MySQL database and he restored it on a wrong destination database overwriting everything on that destination (The schema of both dat...
Only if you have replicated slaves, or you used to, and have binary logs. Even then you'd need an old copy of the database you can restore, and to configure replication again.
How to create and restore backups of the Oracle 10g database by using commanline scripts automatically?
I want to automate the periodic backup and restore of the Oracle 10g Database.Please, someone help me immediately. and please note that I want the task to be performed from the command line scripts.
Also a very good kick-starter into RMAN backup/restore: http://www.orafusion.com/art_rman1.htm
Backup DNS Server/s
I have a problem with this script here for /f "tokens=3" %%a in ('netsh interface ip show config ^| find /i "DHCP Enabled"') do set DHCP=%%a If /i "%dhcp%" == "Yes" ( REM do command here ) Else ( REM script to backup DNS servers to environment variables ) I've tried numerous ways using the first for /f examp...
1 For this batch to properly run, make sure you enable delayed expansion. Just add setlocal ENABLEDELAYEDEXPANSION at the beginning of your batch file. But it will not "get the DNS Server entries into environment variables", which I believe is a different question. ...
bulkloader.py --dump without authentication
Is there some way or using the bulkloader.py dump and restore functionality without authentication? I have tried using: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py without the login-parameter, but login still seems to be required. I still get [ERROR ] Exception during authent...
remote_api, which the bulkloader uses, is written to deliberately require authentication, even if you omit the relevant clause in app.yaml. You can override it if you really want, but it's an incredibly bad idea - it would allow any anonymous user to do practically anything they liked to your app!
IProblem with backing up mysql database
I have problem when backing up mysql database. When I use the following command, it works fine C:\Program Files\MySQL\MySQL Server 5.0\bin mysqldump.exe --user=dinesh --password=accounting --host=dinesh -C --routines --default-character-set=utf8 --Opt inventory > C:\\R14122009_...
1 How about using --result-file= parameter to mysqldump? It is anyway recommended on Windows to avoid problems with newlines. Share Improve this answer Follow answered Dec 14, 2009 at 15:17 ...
C++ sync and backup framework
I'm looking for a commercial/open source backup library in C++. I have seen the Microsoft sync Framework but unfortunatly it requires the .net framework to be installed... Thank you Jonathan
1 Yep, rsync: http://librsync.sourceforge.net/ Or if you really want a complete backup (rather than sync) codebase, use the source of rdiff-backup. Share Improve this answer Follow answered Oct 2...
VB.NET restore Backup file created on one server to another server
i am using SQL server express 2005 as an backend. I created a backup file programmatically.If i use same server , then it restore the data successfuly. however if we try to restore on different server, then it fails. and throw following message "The Backup set Holds a backup of a database other than the existing 'Data...
1 You need to RESTORE from files (which are contained in the backup set) rather than the backup set directly. The bottom example is to copy a database, but the idea is the same.: BACKUP DATABASE AdventureWorks TO AdventureWorksBackups ; RESTORE FILELISTONLY FROM A...
rsync and MyISAM tables
I'm trying to use rsync to backup MySQL data. The tables use the MyISAM storage engine. My expectation was that after the first rsync, subsequent rsyncs would be very fast. It turns out, if the table data was changed at all, the operation slows way down. I did an experiment with a 989 MB MYD file containing real dat...
1 rsync still has to calculate block hashes to determine what's changed. It may be that the no-modification case is a shortcut looking at file mod time / size. Share Improve this answer Follow an...
RAR Each folder in directory
I'm new to Linux commands and spend most of my time in VB. After searching the web it's hard to find a solution in Google. Anyway, everyday I backup my Shares folder and ends up being 183 GIG. I tried many ways of backing it up and come to the conclusion that using rar was the best option for my enviroment. So this is...
1 cd /shares ; find . -type d -maxdepth 1 -exec rar a -v1g -m0 -ow '-ag[dd-mm-yy]' '/backupdir/{}' '{}' ';' The find command searches for directories (-type d) non-recursively (-maxdepth 1) in "/shares" and executes (-exec) the rar command. The '{}' is replaced by the na...
need to implement versioning in Online backup tool
I am working on the developement of a application that will perform online backup of the files and folder in the PC, automatically or manually. Currently, I was keeping only the latest version of the file at the server.Now, I have to implement the versioning so that only the changes can be transfered to the online ser...
There's a program called dump that does something similar, but it operates on filesystem blocks rather than files. rsync also may be of interest. You will need to keep track of a large number of blocks with multiple versions and how they fit into the various versions of the original files, so you will need some kind ...
How do you backup CRM3.0 when the 'ftcat_documentindex' is offline?
My organisation uses Microsoft CRM 3.0, and I am attempting to backup the database. The following error is preventing me from doing so, does anyone know how to resolve this issue? Error: System.Data.SqlClient.SqlError: The backup of full-text catalog 'ftcat_documentindex' is not permitted because it is not online. Che...
As the error states, you can either do a filegroup backup or you can bring the full text data catalog online. You can identify the location of the fulltext catalog (or at least, where it's supposed to be), using the following: SELECT sf.filename FROM sys.fulltext_catalogs ftc JOIN sys.sysfiles sf ON ftc.[file_...
The strategy to get recovery from broken files?
Me and my colleague are trying to implement a mechanism to get recovery from broken files on an embedded equipment. This could be happened during certain circumstances, e.g. user takes off the battery during file writing. Orz, but now we have just one idea: Create duplicated backup files, and copy them back if danger...
Depends on which OS etc. etc. but in most cases what you can do is copy to a temporary file name and as the last final step rename the files to the correct name. This means the (WOOPS) Window of Opertunity Of Potential S****p is confined to the interval when the renames take place. If the OS supports a nice directory...
MSDE backup file is appending
I have an MSDE 2000 database backup file which is appending rather than deleting or renaming. I am using this command: BACKUP DATABASE [SPSDB] TO DISK = 'E:\Program Files\Microsoft SQL Server\MSSQL\BACKUP\SPSbackup\spsdb.bak' with retaindays = 1 I am using a maintenance plan on my full SQL version databases, and the...
1 Take a look at http://msdn.microsoft.com/en-us/library/ms186865.aspx for the BACKUP command. Did you try using INIT option? I noticed the question is very old, but maybe my answer can help somenone. Share Improve this answer Follow ...
How do I run that database backup and restore scripts from my winform application?
I am developing a small business application which uses Sqlserver 2005 database. Platform: .Net framework 3.5; Application type: windows application; Language: C# Question: I need to take and restore the backup from my application. I have the required script generated from SSME. How do I run that particular script (or...
You can run these scripts the same way you run a query, only you don't connect to the database you want to restore, you connect to master instead.
How to bring files in a filesystem in/out MySQL DB?
The application that I am working on generates files dynamically with use. This makes backup and syncronization between staging,development and production a real big challenge. One way that we might get smooth solution (if feasable) is to have a script that at the moment of backing up the database can backup the dyn...
1 Do you mean that the application is storing a files as blobs in the MySQL database, and/or creating lots of temporary tables? Or that you just want temporary files - themselves unrelated to a database - to be stored in MySQL as a backup? I'm not sure that trying to use My...
Scheduled data backup from client to server
Can anyone point out what technologies would be best suited for an application that backs up data from clients to a server? The client should choose folders to backup and schedule backups to a server I would also be interested in how would you start developing/designing, how would you build in the shortest time poss...
1 Quick and dirty way on windows? Shared folders / Robocopy / Scheduled tasks (or triggered by your app, for that matter) Nicest way? Cobian backup with an FTP server Are you sure you want to develop your own stuff? Is it compulsory to lie within your app? Share I...
1000's of locations have a desktop application that need to upload diff's of their db to a central store
There are literally thousands of locations where an application is running (.net desktop app),and a requirement is to have the updates to their database (diff from the last upload) to be sent to a central server that will store all the locations data. What options do I have in coming up with a solution? One idea is to...
1 I would probably make an effort to avoid writing this code. It sounds like the kind of problem database replication was designed to solve. It would depend on criteria you don't communicate in your question, such as database engine in use, available transports, whether d...
Symantec Backup Exec 11d RALUS Communications Error [closed]
Closed. This question does not meet Stack Overflow guidelines. 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 used by prog...
Sure sounds like firewall issues. Try stopping iptables, and running again. Also, RALUS can dump a log file - which may give some more to go on. I use the older UNIX agent myself, which uses port 6101 IIRC - but I believe that the newer client uses tcp/10000 for control and 1024-65535 for transfer. Last resort is to ...
mysql broken after dropping useless views
I have a mySQL database that I backup everyday like this: /usr/bin/mysqldump --all-databases --events > "some_file_name" This db contained a number of obsolete and useless views that I DROPped 2 days ago, after which my backup started complaining: mysqldump: Got error: 1356: View 'xyz' references invalid table(s) or c...
0 Well, it appears that those views were not really independent, but rather calling each other in a multi-hyerarchy of layers. Since (being careful) I started removing only the truly, really useless of them, I broke one or two of the remaining ones. Now I'll have to reconst...
Robocopy backing up with a batch file, but not to the same drive?
I use this sort of command line in the batch files to backup data from my laptop to various external USB drives and also from one USB drive to another, using Robocopy: Robocopy \ "D:\2TB Blue" /MIR /R:1 /W:1 /TEE /FFT /A-:SH But, if I run that batch file on the same drive, e.g. D:, it'll dump a copy of D:\ to D:\2TB ...
0 The Following Morning So, I slept on it and worked it out: If %CD:~0,2%==E: Goto Doh! Robocopy \ "E:\2TB Blue" /MIR /R:1 /W:1 /TEE /FFT /A-:SH Goto End :Doh! @Echo The Source and Destination are on the SAME drive! pause :End Share Improve this answer ...
Use s3-pit-restore - not recongized as an internal or external command
Using project: https://github.com/angeloc/s3-pit-restore S3-pit-restore seems like a useful point-in-time restore tool for Amazon S3. I followed the provided instructions to install this tool on Windows 10 Pro. Python and AWS CLI are running without any problems. s3-pit-restore files are residing in the same directory...
You are receiving the error: 's3-pit-restore' is not recognized as an internal or external command, operable program or batch file. This indicates that the Windows command-line cannot find a program called s3-pit-restore. Therefore, try running: python3 s3-pit-restore If you were on Linux instead of Windows, you co...
Cassandra Replication Strategy based on Primary Key for Archiving Data Old Data
I'm thinking in the manner of storying iot telemetry data. I'd like to optimize my storage. In this case let us take iot telemetry as an example. I'd like to keep recent data (eg last 6 months) as hot and highly replicated. For older data I'd like to reduce replicas and/or fully offload to a lower performance archive ...
0 in general Cassandra not provide such functionality of the box. You are right replication strategies applies per keyspace, so you need implement some external job for read and write data to another keyspace. Also cassandra not effective database for store timeseries on di...
Amanda backup software using postfix generates invalid sendmail option '-s'
I recently updated postfix on my CentOS 6 server to support a new email relay, and everything is working except my Amanda backup software, which is no longer sending status emails. When I run "amreport" on the command line, it gives me these errors: sendmail: invalid option -- 's' sendmail: invalid option -- 's' send...
0 I resolved the issue by replacing /usr/sbin/sendmail -t with /bin/mailx. For more information (and with due credit to "HBruijn"), see the following link: https://serverfault.com/questions/1147855/amanda-backup-software-using-postfix-generates-invalid-sendmail-option-s ...
Remote repository package went missing after package removed from pypi.org
I recently lost a package in my artifactory remote repository because of the package itself disappeared from pypu.org as I didn't know that artifactory remote cache works as a proxy cache only. So I need some detailed setups on how to avoid this happening again in the future. I looked into the official docs and a lot ...
0 Because JFrog Artifactory has Cleanup Unused Cached Artifacts in the Maintenance part and based on cron expression, it deletes packages. Share Improve this answer Follow answered Nov 12, 2023 a...
backup and restore to jenkins in case of disaster
I'm planning to practice jenkins. I want to set up 2 jenkins server on ec2 instance and one is production server another is backup. I want the jobs in the production server automatically backed up to the backup server. In case of an disaster I want to restore it to the production server. Can anyone help me with how ca...
The simple solution is to backup the entire JENKINS_HOME folder. In case you need it for disaster recovery, just copy the whole thing back in. There is a number of files inside the JENKINS_HOME folder that are important to backup, such as the jobs folder which holds configuration of all the jobs, as well as a number o...
how to create incremental backup in GitLab Enterprise Edition 14.7.1-ee
I want to create incremental backup from gitlab version 14.7.1 It is written in part of Git documentation that support is only possible in versions 14.9 and later. how can i do ? this commands not work: sudo gitlab-backup create INCREMENTAL=yes PREVIOUS_BACKUP=<timestamp_of_backup> sudo gitlab-backup create INCREMENTA...
No way. GitLab should be updated to version 14.9.
How to find backup vaults for an Azure blob container and file share using AZ CLI
I'm working on an automation project where I need to find the backup vaults configured for blob container and file share. I searched Microsoft documents but couldn't find anything to achieve my goal. Could anyone please help? Thanks.
0 I found the answer: AZ command: az dataprotection backup-instance list-from-resourcegraph --datasource-type AzureBlob --datasource-id Share Improve this answer Follow answered Oct 13, 2023 at ...
Internal Error when Restoring Odoo Database from PgAdmin4
How can I backup and restore an Odoo database using pgadmin? To backup, I right clicked on the database, backup, use .tar format. When I try to restore, Odoo says: failed restored database. The database is there, but when I'm logged in, it shows internal error.
You need to use PgAdmin to do the restore when you backup the database with PgAdmin. Steps to restore database on PyAdmin Create a new database Right click the database, select restore Choose the backup file Data/Objects Tab -> Do not Save -> Owner Options Tab -> Queries -> Clean Before restore Restore Make sure you...
Policy is not deploying because managed identity does not have permissions
I am using the policy listed below. The roles are set for VM Contributor and Backup Contributor. When performing a remediation, I get the following warning message, "The managed identity for this assignment does not have the appropriate permissions to remediate these resources. To add these permissions, go to the Edit...
0 The error you encountered indicates that the managed identity associated with the policy assignment does not have the required permissions to remediate the resources. To remediate the resources, the managed identity needs to be assigned the minimum RBAC role required fo...
Error: reading Backup Vault (AWSTargetBackupVault): couldn't find resource….. getting this erro while creating backup vaullts and plan via terraform
Im trying to create a awa backup plan via terraform For that i have code creating aws backup vaults. While terraform apply im getting this error even though the vaults are getting created on the console Error: reading Backup Vault (AWSTargetBackupVault): couldn't find resource Error: reading Backup Vault (AWSTargetB...
0 I was having a similar issue and I added "TF_LOG=Debug" before my "terrafom apply" TF_LOG=Debug Terraform apply" And seeing the logs I was missing IAM permissions: "backup:CreateBackupVault", "backup:PutBackupVaultAccessPolicy", "backup:PutBackupVaultNotifications", "...
Roomdatabase backup file showing roommaster table scribbly text
I have a method in my program that backs up a room database in android studio. When I export the file, it comes out as a .txt file. However in my file, the data is all scribbly and not well structured as shown in the image below. I just want the text file to show only data from the room database table columns. My meth...
0 So all I had to do was iterate over the list of users and write each user's file to the outputstream file like this: public void backupDatabase() throws IOException { File backupFile = new File(Environment.getExternalStorageDirectory(), AppDatabase.DATABASE_NAME + ".t...
Except for pg_dump What else can I do to backup a postgreSQL database
Except for pg_dump What else can I do to backup a postgreSQL database.Pg_dump shoul run in postgresql server,but i only konw the database connection info. I try to use sql to do this.But there are to much things to backeup,such as tables,squences,function and so on .so i want to known is there any other thing to help...
0 You seem confused about pg_dump and how it operates. I suggest reading the online manuals. https://www.postgresql.org/docs/current/app-pgdump.html Share Improve this answer Follow answered Sep ...
Can we import SQL bacpac file in existing DB (azure)
can we create a new bacpac file without creating a new DB in azure I tried creating it in the existing DB. It didn't work , a new DB is being created. I want the bacpac on the existing DB............................................
0 .bacpac files are created for the entire database and MS SQL Server does not allow to selectively import data or schema from a .bacpac file into an existing database If you are trying to import , and a new database is being created there might be name mismatch otherw...
Reclaim storage from Azure database for Postgres
We have an Azure database for Postgres Flexible Server option. Server has been allocated to 512GB, and total size of all databases on the server is about 110G. We had online backups set up for the maximum allowed retention period of 35 days. This had started on July 17th, 2023. Since then, space used on the server has...
0 Turns out an inactive replication slot was responsble for space growth... It was not locking anything, just sitting there - and it was causing log space to grow exponentially each day. Dropping replication slot (logical) was the solution to reclaiming space. Within 10-1...
Azure backup report using powershell
I am trying to pull azure backup report using recovery service vault. I am using az backup job list but not able to pull backup job list for mabs I am trying to pull azure backup report using recovery service vault. I am using az backup job list but not able to pull backup job list for mabs Also, I need to filter usin...
0 I need to filter using date time for the job report.In my environment jobs are scheduled like yesterday 10pm to today 10pm To pull Azure backup job list using the Azure CLI az backup job list command for Azure Backup Server and filter the job report based on a specifi...
"message": "No HTTP resource was found that matches the request URI while sending the POST request for backup in APIM
Using this Azure Management REST API for backing up the APIM Instance data but getting the below error: "message": "No HTTP resource was found that matches the request URI Passed the Authorization token and the backup parameters in the body correctly but not sure what is the cause of this error. The APIM Instance has...
Thanks for your guess. You're wright! The URL is mistaken while using in Postman. And then If I send the request again with the correct URL, I got the below message: "code": "ServiceLocked", "message": "The API Service assist-prod-us-ni25-gateway is transitioning at this time. Please try the request again lat...
How to backup Log Analytics workspace or recover?
I'm just wondering how Azure deal with backing up the Log Analyticsworkspaces. I just want to design a log audit to collect logs from different resources and have them in the LA workspaces.However, I want to be sure if there is a recovery plan by default by Azure or If there is way that I can design a backup in azure ...
0 The feature that Microsoft provides is a "Soft Delete" option, it's not a "Backup" feature of the workspace. After a delete, you can recover the workspace until 14 days after the delete action. After that the data will get purged. (As also described in the article you s...
Get backup schedule and retention (short and long term) for SQL Servers using Azure Resource Graph Explorer
I am trying to get the backup schedule and retention for SQL Servers using Azure Resource Graph Explorer. I am unable to find any such information. The current query that I have is resources | where type == 'microsoft.sql/servers' I am trying to get the short term and long term backup information for SQL Servers and ...
0 I am trying to get the backup schedule and retention for SQL Servers using Azure Resource Graph Explorer. I am unable to find any such information. The backup schedule and retention information for SQL Servers and databases is not stored in the resources table. Howeve...
Windows Backup error 0x80070020 MasterFileStatus.db
I am using Windows Backup and creating a system state backup. First time it works, but during next backups I have the following error. Error in deletion of [C:\System Volume Information\MasterFileStatus.db] while pruning the target VHD. Error [0x80070020] The process cannot access the file because it is being used by ...
0 Just find out that these failed it was produced due to Acronis Backups Tool. I'm not sure how it works but it seems that Acronis uses shadow copy as well and it blocks the possibility to create differential backups. That's why only allow you to perform one backup but not ...
DirectoryNotEmptyException while copying files
I wrote a program, where you can backup file or directory to chosen folder. Here is piece of my code: try { if (srcFileOrDir.isFile()) { File destFile = new File(destDir.getAbsolutePath() + File.separator + srcFileOrDir.getName()); Files.copy(srcFileOrDir.toPath(), destFile.toPath(), StandardCopyOp...
Your code will only handle directory copying to a new location. See the documentation of Files.copy: throws DirectoryNotEmptyException - the REPLACE_EXISTING option is specified but the file cannot be replaced because it is a non-empty directory Therefore it is unnecessary to copy a directory that exists, just prefi...
Access denied when accessing velero backup logs [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 Run kubectl auth can-i logs po. If the response is "no" then you don't have permission to read container logs. You can do a similar thing with Velero resources (CRDs), e.g. kubectl auth can-i get <CRD>. Ask your cluster administrator to grant you the appropriate access....
Cannot find LTR backups for Azure SQL Database after the server is deleted
I have set up LTR for an Azure SQL Database and running the Get-AzSqlDatabaseLongTermRetentionBackup -Location northeurope I can see that I have one backup. After I have deleted the SQL Server and running Get-AzSqlDatabaseLongTermRetentionBackup -Location northeurope again, I can't see the LTR backup. According to ht...
0 I tried your scenario in my environment, and it worked successfully. Here, LTR backups when server exists: Here, LTR backups when server is deleted: As you are not getting any error and when you run the command it does not show the LTR backups. It happens when the LTR...
I cant configure google drive backup onmy Laravel Project
Im trying to setup a backup for my Laravel project using Spatie laravel Backup package but i cant install Flysystem adapter for Google Drive i get the error `- Root composer.json requires nao-pon/flysystem-google-drive ~1.1 -> satisfiable by nao-pon/flysystem-google-drive[1.1.0, ..., 1.1.13]. - nao-pon/flysystem-googl...
0 I was getting the same error but I was able to make backups in Google drive using: masbug/flysystem-google-drive-ext The usage and configuration is almost the same as pon/flysystem-google-drive. There is an error with this package tho, you have to set the backup name to...
How to write an incremental backup script using rsync
I am trying to implement custom function for backup using rsync. For this, I modified the following exist code https://linuxconfig.org/how-to-create-incremental-backups-using-rsync-on-linux as follows: #!/bin/zsh #https://linuxconfig.org/how-to-create-incremental-backups-using-rsync-on-linux # A script to perform inc...
0 Exists a tool that use rsync and organize backup folder into catalog for easy future use... The tool is Butterfly Backup. I find this article (and also its documentation) that explain how works: https://fedoramagazine.org/butterfly-backup/ Docs: https://github.com/MatteoG...
How to update cluster's IP addresses in Dynatrace Managed?
I've been looking to see if there's a way to backup my dynatrace managed install by taking snapshots of the EC2's volumes. However, it seems that when I try to bring up the cluster from the snapshots, it goes haywire since all the private IP addresses have changed, and the cluster and servers can't function. I've trie...
0 No. There is no way to do this from an EC2 or VM snapshot. The daily backup is only the full backup. There's already a differential/incremental backup taken every 2 hours (it used to be every hour, but this was too frequent for larger clusters to complete in time before...
Is there any way to recover my old password from android device using adb?
I recently had to format my device If there is a way possible to get the last password form my device as i need to restore the data from the google backup. It was a 4 digit (device)pin and everytime to try to cd it shows a error of /system/bin/sh: cd/system: inaccessible or not found I have the device with me and unlo...
0 Your backups are online, not on your phone. See: https://support.google.com/drive/answer/6305834?hl=en&co=GENIE.Platform%3DDesktop If the PIN you refer to was to unlock your device, this is not what you need. You need to log into your Google account (<probably your name...
Cannot dump MongoDB Atlas database. Get "dumping up to 0 collections in parallel"
I am trying to make a dump of my MongoDB Atlas database using the command given under the database cmd line tools, under binary import and export tools. Here's a picture of where the command was taken from in Atlas: I'm modifying the actual command a bit, here it is: mongodump --uri mongodb+srv://[email protected]/ -...
0 Note that a collection and a database are not the same thing. The correct command is: mongodump --uri mongodb+srv://<your_server_url>/<db_name> --collection <collection_name> -o . -v Share Improve this answer Follow ...
How to backup vuforia unty project smallest size? [duplicate]
This question already has answers here: Cleaning up and Backup / Migrating existing Unity project into new one or another PC (2 answers) Closed 12 months ago. How the best way to b...
0 You need to also backup the Packages folder, besides Assets and ProjectSettings. The Packages folder contains the manifest.json file that describes all packages you use in your project. If you don't have it, packages will be missing in your project. Share Improv...
Having trouble implementing incremental backups (wal archiving) in a postgres container
I am using a postgres image and I would like to implement incremental backups. I have mounted a backup directory from my host machine to a backup dir in the container where postgres would supossedly archive the WAL files. The archive_command in my config looks like this: archive_command ='DIR="/var/backups/$(date +%Y%...
0 Somewhat solved it? I just added a script doing a chmod postgres /var/backups into the /docker-entrypoint-initdb.d folder of the docker postgres container. Every script you put in that folder will be run when starting a container, so I just mounted a folder with the scrip...
Robocopy and files starting with "." dot
I'm starting to use robocopy for my daily backups from my computer to my NAS (Openmediavault, with a Samba sharing). The target is create a mirror of my Z:\ disk into the NAS. To make it possible I use this line into a batch file: robocopy "Z:\ " ^ "\\OMV\Backup\ " ^ /XD "?RECYCLE.BIN" "System Volume...
0 As I mentioned in the question, the issue is on the server side. There is an option on Samba, that "hide dot files", and it is enabled by default. hide dot files (S) This is a boolean parameter that controls whether files starting with a dot appear as hidd...
Duplicating server : HOWTO get and install the exact / same RPM packages?
Good morning, Quite often, I need to create a backup server from a original server ( Rocky9). I have, thanks to Webmin, the exact configuration, but the original server got specific RPM packages installed ( while building and tuning it ) and to qo quick, if I had a list of all the RPM installed or a way to install a b...
0 The best way - and I dare to say the industry standard - is to have an Ansible playbook that describes your setup. And then you can run your playbook just for a different machine. I have Ansible playbook for every machine. Including my working notebook. If something is i...
AWS outbound load balancing with health checks to multiple service providers
I current have a AWS hosted service which makes http requests to an external service provider. I want to add some backup in case the external service provider goes down (which has happened). Does AWS have a load balancer suitable for balancing outbound connections which also balances based on some health checks. My id...
0 Elastic Load Balancers does not support failover routing per se. You can instead use Route53, if it fits with your use case, with a failover routing policy Share Improve this answer Follow edited Feb 21,...
How to take Azure Cosmos db local backup
As a best practice after an environment is de allocated, we delete all the resources from the cloud, but we need the data stored in the cloud and also we are not able find any solution to take the Azure Cosmos DB backup locally
0 I can only confirm that this is currently not possible. Most of cloud providers don't offer such option for SaaS databases or even PaaS. In my opinion, the only solution is to use services such as Data Factory or Databricks, and dump your data to a storage. Copy and tra...
When trying to restore a database backup from Azure SQL on a local SSMS, it doesn't do it and shows errors
When trying to restore a database backup from Azure SQL on a local SSMS (v19.x), it can't proceed and shows errors: Could not import package. Warning SQL72012: The object [Identity_2023-02-14_Data] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that ...
0 Error SQL72014 To resolve this error, you need to enable contained database authentication on the SQL Server instance as mentioned by @ShaktiSingh-MSFT BY following @ Windhoek documentation you will find same issue is raised and resolved . sp_configure 'contained datab...
I want to automatically create a offline backup of git repositories that can be used to restore a failed cloud based repository like Bitbucket
I must say that I am fairly new to git which might reflect in my description of the problem. I have research ways to fully make a backup of a repository. Including all branches, tags, everything! I would like to have it as a restore point if my Bitbucket account would be compromised or if my Bitbucket repositories wou...
0 It is easy Backup To create a backup from the origin bitbucket repository: Visit the Bitbucket site and go to the repository Click the “clone“ button and copy the link Before starting the clone process add --bare key for example git clone --bare [email protected]:<accoun...
I have a backup error on SQL SERVER 12, how can i solve
I have a backup issue in sql server. Backup plans are stopping working in first step of backup job. this is the error description Backup.LOG,,,The job failed. The Job was invoked by User sa. The last step to run was step 1 (LOG) Server is have 500 gb of free storage. There is no disk error or low memory warning. i h...
Solved it. Job Activity monitor is not detailed and it says only "An error occurred". I found the error in this directory: C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Log One of the databases are offline and SQL Server can't back it up. I deleted the offline database from the backup settings and i...
Is it possible to run a Postgres Database as a Docker container and backup it periodically to a NAS?
I am struggeling to get this working. It is no problem for me to set up a Postgres Database with Docker and acess it from other clients with Dbeaver or PGAdmin. My problem is, I am not able to perform an automatic backup of the docker container or volume. This is my Docker Compose file: version: '3.8' services: db...
0 Traditionally you can use pg_dump command to backup your postgres database pg_dump -U postgres -h localhost -f <BACKUP_FILE> <DATABASE_NAME> additionally Use a tool like rsync to copy the backup file to the NAS device. You can use a cron job to schedule the backup proces...
How can I get the backed-up Database name?
I try to backup multiple SQL Server databases using this code: $date = Get-Date -format "yyyyMMdd_hhmmssfff" Get-SqlDatabase -ServerInstance localhost | Out-GridView -PassThru | Backup-SqlDatabase -BackupFile C:\Backup\MyBackup_$date.bak I'm able to combine the backup time in the backup file ($date), but not the name...
0 $MyServer = "localhost" $DBs = Get-SqlDatabase -ServerInstance $MyServer | Out-GridView -OutputMode Multiple foreach ($DB in $DBs) { $dbName = $DB.Name Write-Host $dbName $date = Get-Date -format "yyyyMMdd_hhmmss" Backup-SqlDatabase -ServerInstance $MyServer -Database $d...
NOTES Alpha: Error copying file : open failed: EACCES (Permission denied)
I need to create and restore a backup into my application. My backup logic is working well. but there was a problem for me that I describe below. I create my backup and restore it without uninstalling the application. its working well but when i create backup and uninstall the application, then i installing the appl...
0 After reinstalling your app the backup files do not belong to your app anymore. You could have checked that with File.exists() and File.canRead(). Use ACTION_OPEN_DOCUMENT_TREE to let the user select APP_NAME directory. Or use ACTION_OPEN_DOCUMENT to let the user choose...
Python backup android application problem with decoding
I'm writing a python script to make a Backup from an Android Application with adb: os.system("adb backup -apk -nosystem " + app_identifier) Than I m trying to parse the .ab file with python into tar so I can open it: os.system( "dd if=backup.ab bs=1 skip=24 | python -c \"import zlib,sys;sys.stdout.write(" + "zlib.deco...
0 Rather than using python to pipe a command into a new python interpreter, consider reading the file into a bytes object. You can do this using the open function (make sure to set mode="rb" to avoid decoding errors). The error you are hitting is because stdin is opened i...
Wordpress backup import using all-in-one plugin not working
Import 169,7 MB wordpress backup, but not running, if i refresh page but i see error, Does this happen if there is a difference in version? uninstall mysql db and user then create new db & user installing wordpress
0 Changing the upload limit size takes just 5 steps Go to Plugin editor from the left menu panel in the admin dashboard. Top right, Choose All-in-one WP Migration from the dropdown and click select. Click on constants.php file. Search for the word AI1WM_MAX_FILE_SIZE. C...
In Azure, is it possible to retrieve a Backup Policy from a VM tag value?
TL;DR Is it possible to get the name of a backup policy I'll want to apply, from a Virtual Machine tag value ? For example : backup=myBackupPolicyDaily1AM or backup=myBackupPolicyWeekly Context In Azure, I have these resources : A Recovery Services vault Within this Recovery Services vault, a Backup Policy named Defa...
Have you tried changing the BackupPolicy variable to [parameters('inclusionTagValue')] (~ line 473)? You will first need to duplicate the built-in policy and make it custom. I am testing this now but it will take a little time for Azure policy to evaluate and remediate. "variables": { "backupFabric...
By mistake I have created a .git folder in my DESKTOP and then deleted that folder my caused whole data of the desktop deleted
The .git folder that I have created into my desktop contains the data of around 64GB so i think to delete that folder to free up some space in my system Now what to do to regain that data again ? Which git command should I use to restore the data ? I tried to free up the space by deleting the .git folder which contain...
0 The .git directory contains all your repository data. I.e., it has all the commits and version history. When you have access to the .git directory, you can restore the working directory (your actual data) using the git restore command. Move the .git directory into e.g. C:...
Where to backup .ENV Files, API Keys, Project Passwords? Any best practices or how do you do it?
I might work in the future with 3rd Party API-Keys that connect to very sensitive information and was thinking about how to back them up. I was thinking about encrypting some text-document and upload it to some cloud-storage like Dropbox. Or using something like KeePass:(?) https://keepass.info/index.html Any recomond...
0 if you are using a project management software, it should be uploaded there for everyone part of the team to see. then we just copy and save it to our dev pc when we need it. Share Improve this answer Follow ...
aws Backup job failed because the lifecycle is outside the valid range for backup vault
I'm working on an AWS Backup Plan and successful to deploy the same, however while adding an extra Backup Vault attributes/settings like LockConfiguration it reports and issue on the console Backup job failed because the lifecycle is outside the valid range for backup vault. which i'm not able to get it, I see the AWS...
0 Check your Vaultlock retention period, and verify whether it is less than your backup retention Share Improve this answer Follow answered Jan 17 at 17:39 ncklleenckllee 1 ...
How to delete a dynamoDb backup
When I am trying to delete a backup on dynamoDb I am prompted with the following error message: Invalid Request: User is not allowed to delete the system backup with arn arn:****. It will automatically expire on ***. My account has however administration access . Is there a policy that does not allow back ups to be ...
0 I'm guessing you are using AWS Backup to handle the backups of your DynamoDB tables. In that case you may want to review this document which will help you delete a backup plan: https://docs.aws.amazon.com/aws-backup/latest/devguide/deleting-backups.html Share ...
iPhone Backup in External Storage
I have been doing iPhone backup in external hard drive for quite sometime. This helps me to save lot of hard disk space of my Macbook. I connect iPhone via USB cable to my MacBook and open iPhone sync window in Finder. When I click Back Up Now or Sync button, the data in iPhone will do backup to my external SSD instea...
0 When you back up your iPhone to your MacBook, backups are usually stored in ~/Library/Application Support/MobileSync/Backup/. Locating the backups on the external drive and copying the one you want to restore to this location should make it restorable. See also: Locate ba...
How to create a cygwin script to automatic backup on local PC in ispconfig
My script is for backup web directory and SQL files of all the Website in ispconfig panel on my local machine (not on linux dedicated server). The script is cygwin bash.
0 #!/bin/bash now=$(date +"%Y-%m-%d" -d "0 day ago"); rsync -azvr -e 'sshpass -p "YOUR_PASSWORD" ssh -p YOUR_PORT_SSH_IF_NEEDED -o StrictHostKeyChecking=no' root@HOSTAME:"/var/backup/web*/*${now}*" /cygdrive/h/YOUR_SPECIAL_PATH_ON_LOCAL_MACHINE/var-backup-${now} In fact, i...
How to repeat the same command in creating the openstack backup?
I took volumes 'in-use' of OpenStack instance and filtered those volume ids into a file from which it has to make a backup shell: openstack volume list | grep 'in-use' | awk '{print $2}' > /home/volumeid shell: openstack volume backup create {{ item }} with_items: - /home/volumeid error shows like **failed: [cont...
0 Currently, you are supplying only one element to the with_items, that is, /home/volumeid, meaning your loop will iterate only once for the file name and not its contents. You need to use the file lookup if you are on localhost or the slurp module on the remote host. Examp...
Why Oracle SQL Flash Recover Area is blank?
I get 0 rows in the results I use SELECT * from V$RECOVERY_FILE_DEST V$RECOVERY_FILE_DEST is a default table name for the oracle Flash recovery area. Does this mean that a Backup never happens on this platform or Flash recovery area name is different from the default? If yes, then how can I locate the Flash Recovery a...
V$RECOVERY_FILE_DEST shows target OS or ASM directories, as specified in the db_recovery_area_dir initialization parameter, which are designated to contain flash recovery area files. If there is nothing visible in the table, confirm the setting of the initialization parameter. If both are null/empty, then there is no...
Restore amplify backend environment
I've gotten an Amplify project dropped in my lap where the backend environment is deleted (or lost when the project were moved to another account). I haven't worked with Amplify before, so I'm not sure how "automatic" everything is. I noticed that the project has a folder called 'amplify-backup' which contain a bunch ...
0 If the project files still exist (amplify directory), you may be able to re-create the project with the existing resources. One idea could be to clone the git repository from when the amplify project files were intact and run amplify init OR amplify-backup is generally ...
Backing up a VM before deleting
We have one Linux and one Windows VM that we no longer have a need for. Before we delete the VM, we would like to back it in case we need to go back to it. What is the best way to do this? Thank you! Sanjeev
The best method is to use the Azure Backup Service https://learn.microsoft.com/en-us/azure/backup/backup-overview
AWS backup window
I have a question about AWS backup window. It says in the documentation that the default backup start at 5AM UTC and with the backup window of 8 hours. I want to create backups of EC2 instance on every hour of the day which means I should have 24 backups at the end of a day. I have chosen the backup frequency to be ho...
0 see Overlapping backup rules in this doc it could be the reason you’re only getting 6 per day if you have other rules in addition to the hourly one careful, complete within is only there to error the backup out if it exceeds the window, it doesn’t speed the backup up or...
How to detect whether postgresql database is corrupted?
Referring to the official documentation, I now find that there are two ways: set param zero_damaged_pages on, However, it is not recommended because data loss may occur, and I do not Know if the database is corrupt; set checksum on, This can cause significant performance costs, and You can find the database is corrup...
0 Both ways won't reliably detect all kinds of data corruption. zero_damaged_pages won't help at all, and checksums will only detect data corruption on disk (as opposed to corruption in RAM or caused by database bugs). Some data corruption can be detected by nasty error mes...
backup a greenplum instance: custom script
We have a greenplum 6.x instance. About 40 segment servers. We have to backup the instance. I know there are two main methods to backup greenplum instance gpbackup for parallel backup. The main recommended method as I understand. pg_dump non parallel backup that has to go through the master. (Not recommended because ...
0 i'm confused how you have enough space to copy the entire pgdata and WAL files but do not have space to do a backup? Considering that you seem to believe backups are important (which they are if this is a critical system), there must be a way to cobble some storage either...
Making backup of MySQL database and server
I know about database backups for MySQL, but how would one go about making a backup of entire MySql configuration along with the databases? I'm building few set of services/tools and I need to provide instructions so not-so technical people could restore them if I wouldn't be available. One of the things I need to bac...
0 Actually, the simplest way is to use crontab+shell. Of course, there are also many paid software that can be implemented. If you want to back up, it is recommended that you back up your data files and configuration files so that they can be recovered. It is also the safes...
Why does mysql shell not load any data when I use util.load_dump()?
I am using MySQL shell utilities 8.0.23 for both dump and load and the process goes as follows: On one host: I use util.dump_Instance() to create a dump of a mysql 8.0.23 instance with multiple schemas. On another host: I download partial files from the dump - all the files relevant to a specific schema and the metada...
0 I found the issue - no data was loaded because when loading partial data from dump_instance the list of files that need to be copied are as follows: @.* - dump metadata files SCHEMA@* - schema data files SCHEMA.* - schema metadata fils (these are the files that were miss...