How to get th files in a new site?

i pushed the module and databse to newly setup v14 version but my files are missing when i open the file i got this error


how to get the files.if anyone knows.please help.thanks

You restore all file or only database file .

Private File exist in the separate tar file
And public file exist separately.

i restored only the database

how to get those files?i mean the path

That’s why file not exist

Directory: bench/site/[site-name]/file/backup

Here you find all three files. Database file, Public file, private file

1 Like

how to restore these files?

@neha
Backup with Files :-
bench --site {site} backup --with-files

Restore With Files :-
bench --site [sitename] --force restore [path sql database which file name] --with-private-files[filename] --with-public-files[filename]

1 Like

@neha you can just copy the files using scp or rsync if your hosting your server . if you’re using local server or vm you can just copy the files the normal way (usb or anything)

1 Like