Config::Error: Invalid Configuration File [ ] The configuration file at '/etc/backups/config.rb' [ ][ ] does not appear to be a Backup v5.x configuration file. [ ][ ] If you have upgraded to v5.x from a previous version, [ ][ ] you need to upgrade your configuration file. [ ][ ] Please see the instructions for upgrading in the Backup documentation.
My config.rb is just empty but works well on v4.4.0
# Backup v5.x Configurationas a comment to your config file
I have merged PR #857 to master, which adds Docker with a skeleton integration test suite (in the integration/ directory). You will see that the Rake tasks now have a "docker" namespace:
rake docker:build # Build testing containers with Docker Compose
rake docker:clean # Remove Docker containers for Backup
rake docker:clobber # Remove Docker containers and images for Backup
rake docker:integration # Run RSpec integration tests with Docker Compose
rake docker:shell # Start a container environment with an interactive shell
rake docker:spec # Run RSpec unit tests with Docker Compose
This PR does not change the Travis CI configuration in any way: it just hopefully enables you to run to write and/or run integration tests on a development workstation. I have looked at running Docker on Travis CI, but that is more invasive, so will do a separate PR just for that. PR #832 has ports of a lot of tests to Docker, but I will do another clean PR for those.