backup

Restore a backup site with Drupal

让人想犯罪 __ 提交于 2019-12-12 06:14:31
问题 I'am trying to restore a backup site from a copy made by Backup and Migrate module in Drupal, I followed those steps: copy the drupal files to www directory create a new mySQL database install drupal using the new db enable backup and migrate module performed the restore I faced this error : Notice: Undefined index: files in theme_backup_migrate_file_list() (line 954 of .../sites/default/modules/backup_migrate/backup_migrate.module) the issue was solved by the dev version of "Backup and

Powershell - delete old folders but not old files

邮差的信 提交于 2019-12-12 05:29:26
问题 I have the following code to keep on top of old folders which I no longer want to keep Get-ChildItem -Path $path -Recurse -Force -EA SilentlyContinue| Where-Object { !$_.PSIsContainer -and $_.CreationTime -lt $limit } | Remove-Item -Force -EA SilentlyContinue Get-ChildItem -Path $path -Recurse -Force -EA SilentlyContinue| Where-Object { $_.PSIsContainer -and (Get-ChildItem -Path $_.FullName -Recurse -Force | Where-Object { !$_.PSIsContainer }) -eq $null } | Remove-Item -Force -Recurse -EA

iOS: keychain on new devices or on restores

情到浓时终转凉″ 提交于 2019-12-12 04:49:28
问题 I thought about storing important and sensitive information in iOS' keychain. But now I read that the keychain is only restored if the backup is encrypted in iTunes (don't know about iCloud backups). This is especially a problem when users buy a new iPhone/iPad and restore them from a backup. The information stored in the keychain by the old device will be lost. Is there any (secure) possibility to transfer the data to new devices or on restores independently of the backup settings? 回答1: You

New folder for every backup CMD

佐手、 提交于 2019-12-12 04:46:19
问题 I am trying to get a batch going to backup a folder on a work server. (Please see attached link) Bat Error "invalid number of parameters" Long story short - I need the script to name a new folder for each backup, which "md new_folder" was suggested, but I cannot seem to get the context or how to place it into the code. @echo This will now create a new backup of S:\Internal Auditor\9 - September 14 @echo off :: variables set SRCFOLDER="S:\Internal Auditor\9 - September 14" set DESTFOLDER="S:

I need to backup or clone one remote firebird database or export it to Sql server

空扰寡人 提交于 2019-12-12 03:58:58
问题 I have a legacy system using a remote Firebird 2.5 database. I need to clone this database for backup. I do not have access to file system of the server, I can only access it with connection string. How can I do this? 回答1: You can use GBAK command to backup remote database to local hard disk. Here's the GBAK command: gbak -b -v 192.168.0.20:/dbases/mydb.fdb C:\mybackup.fbk -user SYSDBA -pass 123456 来源: https://stackoverflow.com/questions/43472517/i-need-to-backup-or-clone-one-remote-firebird

SQL Triggers to duplicate update changes to another table

本秂侑毒 提交于 2019-12-12 03:16:31
问题 So I have an intermitant problem that I need a temporary fix for. (something is causing issues with two tables intermittently (every 3-4 weeks)) One table gets completly cleared out and another seems to have individual records removed... as this is an ongoing issue we are still investigating the main cause but need a temporary fix. As such I have setup a second "Backup" table for each of these tables and am trying to setup triggers to copy ALL Insert and Update commands I have created the

Backup dead MySQL server

青春壹個敷衍的年華 提交于 2019-12-12 03:06:16
问题 My computer went almost totally down and I now need to get the data out of it, before I reinstall it. One of the data I need to backup are those on the mysql server. However, I can't run it, so I just need to know, which files should I copy on external drive. I have instaled MySQL with the xampp bundle. In the xampp main folder I can find mysql folder and within it, these folders: .. backup bin data include scripts share sql-bench Which of them contains the actual database data? I'm quite

backup restore sql database through AttachDBFilename

岁酱吖の 提交于 2019-12-12 02:18:52
问题 I am not able to create a backup of database saved in location like C:\database\mydb.mdf error : Unable to create a backup Backup sqlBackup = new Backup(); sqlBackup.Action = BackupActionType.Database; sqlBackup.BackupSetDescription = "ArchiveDataBase:" + DateTime.Now.ToShortDateString(); sqlBackup.BackupSetName = "Archive"; sqlBackup.Database = databaseName; BackupDeviceItem deviceItem = new BackupDeviceItem(destinationPath, DeviceType.File); //ServerConnection connection = new

Remote backup of MySQL database

本小妞迷上赌 提交于 2019-12-12 01:35:36
问题 Our Java server application logs data to a SQL database, which may or may not be on the same machine. Currently we use MS SQL Server, and we're now porting to MySQL. A user configures database backup parameters on our app server, e.g. time of day to run a backup, and the app server executes SQL Server's BACKUP DATABASE command at the appropriate time, via a sproc. It does incremental backups daily and full backups weekly. MySQL lacks an equivalent feature to tell the database from a client

set key with new bulkloader

一世执手 提交于 2019-12-12 01:35:11
问题 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 data, specify a key using the same syntax as the property map; that is, external_name, import_template, and so on. All the examples apply a transform to the current property. How