{"id":21237396,"url":"https://github.com/mateuszkubuszok/backupdsl","last_synced_at":"2025-07-10T18:32:06.409Z","repository":{"id":151700109,"uuid":"45459380","full_name":"MateuszKubuszok/BackupDSL","owner":"MateuszKubuszok","description":"Small and simple DSL in Scala intended for some specific backup/restore operations","archived":false,"fork":false,"pushed_at":"2015-11-03T14:48:47.000Z","size":640,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-07T02:31:29.252Z","etag":null,"topics":["elevation","scala"],"latest_commit_sha":null,"homepage":"https://bitbucket.org/MateuszKubuszok/backupdsl/issues/","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MateuszKubuszok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-03T10:33:15.000Z","updated_at":"2023-04-11T20:51:39.935Z","dependencies_parsed_at":"2023-04-11T21:04:13.689Z","dependency_job_id":null,"html_url":"https://github.com/MateuszKubuszok/BackupDSL","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2FBackupDSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2FBackupDSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2FBackupDSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MateuszKubuszok%2FBackupDSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MateuszKubuszok","download_url":"https://codeload.github.com/MateuszKubuszok/BackupDSL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225649202,"owners_count":17502257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elevation","scala"],"created_at":"2024-11-21T00:18:35.240Z","updated_at":"2024-11-21T00:18:36.215Z","avatar_url":"https://github.com/MateuszKubuszok.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Backup DSL\n\n[![Build status](https://api.shippable.com/projects/561d0f141895ca44741d627e/badge/master)](https://app.shippable.com/projects/561d0f141895ca44741d627e)\n\nProject of a DSL for performing backup and restore of some specific parts of\nthe system.\n\n## Example script\n\nSimple backup script looks like this: \n\n    package example\n\n    import pl.combosolutions.backup.dsl.Script\n    \n    object ExampleScript extends Script(\"Test script\") {\n    \n      configuration forThis { config =\u003e\n    \n        config.selectFiles forThis { selection =\u003e\n    \n          selection.files += \"README.md\"\n          selection.files += \"ROADMAP.md\"\n    \n          selection.backupFiles\n        }\n      }\n    }\n\nOne can run it with `sbt \"runMain example.ExampleScript backup\"` and\n`sbt \"runMain example.ExampleScript restore\"`. Script will try to copy\n`README.md` and `ROADMAP.md` files into default backup directory.\n\nUsing [SBT script runner](http://www.scala-sbt.org/0.13/docs/Scripts.html) you\nmight try to publish artifacts (`sbt publishLocal`) and then create backup\nconfiguration like this one:\n\n    #!/usr/bin/env scalas\n    \n    /***\n    scalaVersion := \"2.11.7\"\n    \n    libraryDependencies += \"pl.combosolutions\" %% \"backup-dsl\" % \"0.2.0-SNAPSHOT\"\n    */\n    \n    import pl.combosolutions.backup.dsl.Script\n    \n    object ExampleScript extends Script(\"Test script\") {\n    \n      configuration forThis { config =\u003e\n    \n        config.selectFiles forThis { selection =\u003e\n    \n          selection.files += \"README.md\"\n          selection.files += \"ROADMAP.md\"\n    \n          selection.backupFiles\n        }\n      }\n    }\n\n## Development\n\nBuild process requires [SBT](www.scala-sbt.org) or\n[Activator](https://www.typesafe.com/activator/download) installed. Code is\nautomatically formatted on compile task by scalariform plugin.\n\nComponents that have no clear idea behind them yet (prototypes) can go untested\nuntil good API is figured out. Then they should be completely unit tested with\nemphasis on corner cases.\n\nPlatform Specific Model module development requires some specific guidelines\n- read more [here](PSM-DEVELOPMENT.md).\n\n## Roadmap\n\nSee roadmap [here](ROADMAP.md)\n\n## License\n\nMIT license, see [License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuszkubuszok%2Fbackupdsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateuszkubuszok%2Fbackupdsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateuszkubuszok%2Fbackupdsl/lists"}