Re: [web2py] Creating a CSV backup for the database file in the app

2018-10-30 Thread Francis Windram
You should just be able to use a relative path, i.e. "./static/dbbackup/backup.csv" rather than "C:/Users/me/Desktop/web2py/applications/webapp1/static/dbbackup/backup.csv". ("../" would take you to one folder above where you started, and "../../" would go two folder levels up. ) You may need to

[web2py] Creating a CSV backup for the database file in the app

2018-10-23 Thread mostwanted
I have a folder in my desktop that contains a CSV file that backs up information everytime something gets saved into the database. What i wanna know is how can I instead have this folder and CSV backup file saved in the app somewhere so that even if i relocate the application or take it online