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

Backup plugins directory #1

Open
Zubs786 opened this issue Jul 29, 2017 · 1 comment
Open

Backup plugins directory #1

Zubs786 opened this issue Jul 29, 2017 · 1 comment

Comments

@Zubs786
Copy link

Zubs786 commented Jul 29, 2017

it would be great if plugin directory also gets backup.

@a0533057932
Copy link

Add the path you want to add to the backup to the next section in the code

var uploadPath = path.join (pwd, "/ public / uploads");
var backUploadPath = path.join (tempBackupDir, "/ uploads");
var plugin = ?
console.log ("Copying uploaded images in:" + uploadPath);
fs.copySync (uploadPath, backUploadPath, ?);

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

No branches or pull requests

2 participants