backup

Firebase Storage - How to setup a backup

谁说我不能喝 提交于 2020-01-24 20:19:26
问题 Can someone please advise how to setup a backup for Files in Firebase storage. I am able to make a backup of Database but not sure how to setup a regular backup for files (I have images) in firebase storage. 回答1: How to make local backup of Firebase Storage There is no built-in method via Firebase. However, since Firebase uses Google Cloud Storage behind the scenes for Firebase Storage it's possible to use the gutils Tool . Prerequisites Make sure Python (2.7.9+) is installed on your machine

Undo a botched command prompt copy which concatenated all of my files

筅森魡賤 提交于 2020-01-24 10:12:45
问题 In a Windows 8 Command Prompt, I had a backup drive plugged in and I navigated to my User directory. I executed the command: copy Documents G:/Seagate_backup/Documents What I assumed was that copy would create the Documents directory on my backup drive and then copy the contents of the C: Documents directory into it. That is not what happened! I proceeded to wipe my hard-drive and re-install the operating system, thinking I had backed up the important files, only to find out that copy

completely archive a TFS2012 project

佐手、 提交于 2020-01-24 05:28:04
问题 In TFS 2012 what is the best practice to fully archive a TFS project? Our TFS database has gotten ridiculously large and we need to start archiving things (but of course we do not want to loose anything). I would like to take an abandoned project form the TFS server and completely back it up to an external drive with all its files and its history, workitems and build definitions and then remove all of that from the TFS server. If an abandoned project needs to be reactivated, I would like to

Volume Shadow Copy in C++

痞子三分冷 提交于 2020-01-23 08:10:07
问题 I'm developing an application which will need to copy files that are locked. I intend on using the Volume Shadow Copy service in Windows XP+ but I'm running into a problem with the implementation. I am currently getting E_ACCESSDENIED when attempting calling CreateVssBackupComponents() which I believe is down to not having backup privileges so I am adjusting the process privilege token to include SE_BACKUP_NAME which succeeds but I still get the error. My code so far (error checking removed

Volume Shadow Copy in C++

徘徊边缘 提交于 2020-01-23 08:09:27
问题 I'm developing an application which will need to copy files that are locked. I intend on using the Volume Shadow Copy service in Windows XP+ but I'm running into a problem with the implementation. I am currently getting E_ACCESSDENIED when attempting calling CreateVssBackupComponents() which I believe is down to not having backup privileges so I am adjusting the process privilege token to include SE_BACKUP_NAME which succeeds but I still get the error. My code so far (error checking removed

“permission denied” for pg_dump output file

被刻印的时光 ゝ 提交于 2020-01-22 14:00:08
问题 i used below command to backup my database sudo -u user_name pg_dump dbName -f /home ..../someWhere/db.sql but it gives me this : pg_dump: [archiver] could not open output file "/home ..../someWhere/db.sql": Permission denied after googling this issue i find that i must backup my data under the /tmp path , but doesn't work how can i resolve this issue ? thanks in advance, i am using Ubuntu 12.04 lts 回答1: try pg_dump from psql command-line as below: postgres=# \! pg_dump dbName -f /home ....

Rsync how to include directories but not files?

自闭症网瘾萝莉.ら 提交于 2020-01-22 02:07:50
问题 I have a directory structure and files like this data/ data/a.txt data/folder/ data/folder/b.txt data/folder/folder/ data/folder/folder/c.txt ... a.txt , b.txt , and c.txt are large files that are computer-generated and renewed frequently. They should NOT be backuped -- but I want to backup the directory structure : data/ data/folder/ data/folder/folder/ How can I do this with rsync and --exclude-from, without specifying every folder, but something like rsync -a data/* --exclude-from=exclude

Backup and upload to FTP server [closed]

浪子不回头ぞ 提交于 2020-01-21 10:33:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Can anyone direct me to a script solution that makes a backup of a directory and uploads it to an ftp server? I was searching for a batch script initially but any solution would do, as long as it is open source. Thanks in advance, Jean 回答1: I'll be working on one soon, but WinSCP has a CLI that you can use to

Want to do an incremental backup for mongodb. Journaling? Oplog?

ぐ巨炮叔叔 提交于 2020-01-20 19:51:27
问题 I want to daily backups for a single mongodb database, probably with mongodump. To not lose any data, I would like this to be incremental so if something goes wrong in the middle of the day, I need to be able to replay changes for that day up til the point of failure after doing a mongorestore. Am I understanding correctly that I need to use an oplog for this? Or is journaling the answer? I tried doing the following: Turning my mongo database into a replica set of just one, so that it creates

Kafka connect - string cannot be casted to struct

梦想的初衷 提交于 2020-01-16 09:12:24
问题 I am doing poc of confluent kafka connect version 5.2.3. We are trying to copy message of topic a file as backup and from this file back to topic when we need it. Topic has Key =string Value=protbuf I am using key.convertor=org.apache.kafka.connect.storgare.StringConvertor value.convertor=com.blueapron.connect.protobuf.ProtobufConvertor value.convertor.protoClassName=<proto class name> Sink config name=test connector.class=FileStreamSink tasks.max=1 file=test.txt topics=testtopic Source