1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-23 05:01:13 +01:00
phorge-phorge/src/applications/files/query
epriestley 64a9500078 Add "bin/file migrate" options to support import of a local-disk backup for Phacility instances
Summary:
Ref T13306. Currently, there's no easy way to import a third-party local-disk file dump into a Phacility instance.

Add some more options to `bin/files migrate` to support this. In particular, this enables:

```
$ ./bin/files --from-engine local-disk --engine amazon-s3 --local-disk-source path/to/backup
```

...to import these files into S3 directly.

These are general-purpose options and theoretically useful in other use cases, although realistically those cases are probably very rare.

Test Plan: Used `bin/files` with the new options to move files in and out of local disk storage in an arbitrary backup directory. Got clean exports/imports.

Reviewers: amckinley

Maniphest Tasks: T13306

Differential Revision: https://secure.phabricator.com/D20571
2019-06-15 08:12:11 -07:00
..
PhabricatorFileBundleLoader.php Extend from Phobject 2015-06-15 18:02:27 +10:00
PhabricatorFileChunkQuery.php Update many Phabricator queries for new %Q query semantics 2018-11-15 03:48:10 -08:00
PhabricatorFileQuery.php Add "bin/file migrate" options to support import of a local-disk backup for Phacility instances 2019-06-15 08:12:11 -07:00
PhabricatorFileSearchEngine.php Make daemons perform file deletion 2017-04-18 11:09:41 -07:00
PhabricatorFileTransactionQuery.php Remove @group annotations 2014-07-10 08:12:48 +10:00