Comments (6)
Can you expand on what you're trying to do, here? Do you just want to restore a backup? Or are you wanting to poke at the database on another machine? The backup generated by nextcloud.export
is just a mysql dump of the nextcloud
database. It doesn't really have a concept of users. When you install a new instance of the snap, it'll generate its own root (and nextcloud user) passwords, and then you'll be able to nextcloud.import
your backup. Assuming all you care about is importing your backup, you shouldn't need to care about users at all.
from nextcloud-snap.
poking around too...
try
user: nextcloud
pwd: system-root-user-password
from nextcloud-snap.
Thank you two, that was a misunderstanding on my end. I was able to import the database to my personal machine by using the following commands:
sudo mysql
create database nextcloud;
exit
sudo mysql -u root -p nextcloud < /path/to/database.sql
I've already created a new nextcloud instance without the use of my backup. My intent is to export the calendar, contacts, and notes tables from my old database and import them into my new database.
from nextcloud-snap.
No problem, that's what this issue tracker is all about! Yeah I'd say you're on the right track here. nextcloud.mysql-client
will probably prove useful to you. Just remember it will only be able to access /var/snap/nextcloud/current
under confinement, so if you shave off smaller table dumps to import in pieces, make sure you put them in there.
from nextcloud-snap.
For anyone who might stumbled across this post via a search engine, I ended up creating a new snap nextcloud instance and did a backup import (without data). I then used the calcardbackup script with the -p flag and it worked great!
https://codeberg.org/BernieO/calcardbackup
from nextcloud-snap.
Awesome, thanks for the update @Matth3wW!
from nextcloud-snap.
Related Issues (20)
- NextCloud Installation Broken - Unable To Update HOT 14
- How to modify the JSON file of translation content? HOT 3
- I can't write korean on nextcloud office. HOT 3
- cannot run https://scan.nextcloud.com/ HOT 7
- Your web server is not properly set up to resolve "/.well-known/webfinger". "/.well-known/nodeinfo". HOT 26
- unable to change data directory HOT 2
- no .js compression HOT 14
- Nextcloud 28 - MySQL server has gone away","Code":2006," - server crashes and won't come back HOT 8
- app upgrade "collectives" PDO SQLite error "fulltextsearch"
- documentation wiki, managing logs
- Font not appear in Office HOT 1
- Your data directory and files are probably accessible from the internet. HOT 2
- Hub 8 Assistant 2.0 App missing HOT 6
- cron not working after upgrade to 29.02.1 HOT 25
- Logs are flooded with: Invalid "upload_max_filesize" setting. Invalid quantity "16G": value is out of range, using overflow result for backwards compatibility at Unknown#0 HOT 4
- Download Progress not being shown while downloading a File HOT 2
- Mounted disks cannot be accessed in external storage HOT 25
- Update Nextcloud to 29.0.3 HOT 12
- Update Nextcloud to 28.0.7 HOT 1
- Update Nextcloud to 27.1.11 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloud-snap.