Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - Migration from attachments in the database to Amazon s3 #1209

Closed
mrabino1 opened this issue Sep 1, 2014 · 4 comments
Closed
Labels

Comments

@mrabino1
Copy link

mrabino1 commented Sep 1, 2014

from:
http://osticket.com/blog/107

php setup/cli/manage.php file migrate --backend D --to F --limit=20

this migrates from the database to the filesystem... is there a similar one that will migrate to the S3 (if that plugin has been activated)?

(btw, the plugin works great)

thx.

@greezybacon
Copy link
Contributor

php setup/cli/manage.php file migrate --backend D --to 3 --limit=20

for a list of backends

php setup/cli/manage.php file backends

@mrabino1
Copy link
Author

mrabino1 commented Sep 2, 2014

outstanding.. thank you...

@mrabino1
Copy link
Author

mrabino1 commented Sep 3, 2014

migration was a success... while the CLI works, would suggest having this be in the gui Admin section.... likewise (and this is a spin off questions), is there a SQL command to pull specific tickets from a legacy db and "inject / import" them into an operating db as a closed ticket (purely to add to the search).. that legacy DB go extremely bloated with attachments and was archived.. a fresh install was done.. and is now using the S3 for storage.. to the extent possible, I would like to marry the two.. but really not merge, rather import the legacy DB as closed tickets only.. (and then I will migrate the attachments in the DB to the S3...)... the question is what is the SQL cmd to pull a ticket out, and then what is the SQL cmd to inject as closed (but without having a duplicate ticket id....

thoughts? thx. in advance.

@greezybacon
Copy link
Contributor

At the moment we don't support partial imports and exports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants