remote-backup

Sync folder of VMWare host and guest

假如想象 提交于 2021-02-08 10:25:03
问题 I am running Win 7 for everyday use, but for development I power up VMWare Workstation 9 with Ubuntu 12.04 LTS installed. What is the easiest way to keep my sourcecode developed in the guest system in sync with the host? (e.g. for the case of guest system failure - I always consider these as disposable.) Approaches I could think of: Some kind of "folder sharing" as known from windows-only networks Using some VM feature to mount a host folder into the guest having an SVN server on the host

C# SQL Server backup of a remote database to the remote default backup location without direct access to the remote location?

限于喜欢 提交于 2021-01-29 17:20:38
问题 TL;DR - I want the server to take a backup not my application because the server is set up to do so and my application won't have access. Background My company created software for clients 20 years ago written in Delphi 7/Pascal. I am re-writing the software in C#. As part of the re-write I have created new Firebird, Oracle, and SQL Server databases. Federal regulation requires that all of the existing data is maintained so I have created a database modification / transformation tool in order

Extract a specific folder to specific directory from a tar.gz

半腔热情 提交于 2021-01-20 19:37:28
问题 I have searched and found how to the two portions of what I want but nothing that would allow you to do it in whole.... What I would like to do is extract a specific folder from a tar.gz to another folder in a different path that how it is in the tar.gz. For example: Directory path in my backup.tar.gz file is: a/b/c/d (d is my main with many others inside) I want to unpack directory 'd' into 'm' inside this different server path: a/b/m If I attempt this code: tar -xzf backup.tar.gz -C a/b/m *

Backup server to local file with FirebirdSql.Data.Services.FbBackup

两盒软妹~` 提交于 2019-12-12 12:48:05
问题 I'm trying to use following code to backup a database located on a remote server on which I do NOT have write permission : FbBackup backupSvc = new FbBackup(); backupSvc.ConnectionString = ConnectionStr; // on remote server backupSvc.BackupFiles.Add(new FbBackupFile(destFile)); // local file backupSvc.Verbose = true; backupSvc.Options = FbBackupFlags.IgnoreLimbo; backupSvc.ServiceOutput += ServiceOutput; backupSvc.Execute(); This works just perfectly fine if the DB is on localhost or if I can

Specify password to sftp in a Bash script [duplicate]

折月煮酒 提交于 2019-12-09 16:12:16
问题 This question already has answers here : How to run the sftp command with a password from Bash script? (9 answers) Closed 4 years ago . I am trying to write a script to back up a file over SFTP. The problem is, it requires a password, and I see no way to manually specify a password to SFTP. I've heard about requiring no password by using public keys, but that requires being able to ssh into the remote server and modify some configuration files, which I cannot do. Currently my solution is to

Specify password to sftp in a Bash script [duplicate]

孤人 提交于 2019-12-04 04:00:45
This question already has answers here : Closed 4 years ago . How to run the sftp command with a password from Bash script? (9 answers) I am trying to write a script to back up a file over SFTP. The problem is, it requires a password, and I see no way to manually specify a password to SFTP. I've heard about requiring no password by using public keys, but that requires being able to ssh into the remote server and modify some configuration files, which I cannot do. Currently my solution is to use cURL , but that is insecure (uses normal FTP). I also looked at the .netrc file, but that seems to