|
Samuel Stirtzel created JENKINS-12125:
----------------------------------------- Summary: Push backups in remote git repository (or any other SCM) Key: JENKINS-12125 URL: https://issues.jenkins-ci.org/browse/JENKINS-12125 Project: Jenkins Issue Type: New Feature Components: thinBackup Reporter: Samuel Stirtzel Assignee: Thomas Fürer Priority: Minor Hi, it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). Summarized it could be done like this: * Check if the target directory is in a SCM (for git: check if .git directory is present) * Automatic backup * Stage the backup files and commit * Push to origin (the remote repository) Alternative to that, let the user run a shell script after backups. -- Regards Samuel -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-12125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Samuel Stirtzel updated JENKINS-12125: -------------------------------------- Description: Hi, it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). Summarized it could be done like this: * Check if the target directory is in a SCM (for git: check if .git directory is present) * Automatic backup * Stage the backup files and commit * Push to origin (the remote repository) Alternative to that, let the user run a shell script after backups. Edit: When stored in a SCM the naming scheme is disturbing, as the files should get overwritten each time a backup is running. So if thinBackup creates "backups/FULL-2011-12-01_12-15/" and "backups/FULL-2011-12-08_12-15/" it is not possible to directly put them in a SCM without moving files around or it will create duplicate content. -- Regards Samuel was: Hi, it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). Summarized it could be done like this: * Check if the target directory is in a SCM (for git: check if .git directory is present) * Automatic backup * Stage the backup files and commit * Push to origin (the remote repository) Alternative to that, let the user run a shell script after backups. -- Regards Samuel Added info about the problems of the naming scheme and SCM > Push backups in remote git repository (or any other SCM) > -------------------------------------------------------- > > Key: JENKINS-12125 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12125 > Project: Jenkins > Issue Type: New Feature > Components: thinBackup > Reporter: Samuel Stirtzel > Assignee: Thomas Fürer > Priority: Minor > > Hi, > it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). > Summarized it could be done like this: > * Check if the target directory is in a SCM (for git: check if .git directory is present) > * Automatic backup > * Stage the backup files and commit > * Push to origin (the remote repository) > Alternative to that, let the user run a shell script after backups. > Edit: > When stored in a SCM the naming scheme is disturbing, as the files should get overwritten each time a backup is running. > So if thinBackup creates "backups/FULL-2011-12-01_12-15/" and "backups/FULL-2011-12-08_12-15/" it is not possible to directly put them in a SCM without moving files around or it will create duplicate content. > -- > Regards > Samuel -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159384#comment-159384 ] Robert Kahlert commented on JENKINS-12125: ------------------------------------------ I am with Samuel on this one. Just making the backup name editable, so that people can take out the $DATE part would be sufficient. I can check it into SVN myself, that's not the issue. > Push backups in remote git repository (or any other SCM) > -------------------------------------------------------- > > Key: JENKINS-12125 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12125 > Project: Jenkins > Issue Type: New Feature > Components: thinBackup > Reporter: Samuel Stirtzel > Assignee: Thomas Fürer > Priority: Minor > > Hi, > it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). > Summarized it could be done like this: > * Check if the target directory is in a SCM (for git: check if .git directory is present) > * Automatic backup > * Stage the backup files and commit > * Push to origin (the remote repository) > Alternative to that, let the user run a shell script after backups. > Edit: > When stored in a SCM the naming scheme is disturbing, as the files should get overwritten each time a backup is running. > So if thinBackup creates "backups/FULL-2011-12-01_12-15/" and "backups/FULL-2011-12-08_12-15/" it is not possible to directly put them in a SCM without moving files around or it will create duplicate content. > -- > Regards > Samuel -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159964#comment-159964 ] Thomas Fürer commented on JENKINS-12125: ---------------------------------------- I'm aware of this feature, and I have also some ideas about a solution, but have currently not enough time to implement it. So please do not be disappointed when I must put you off for a while. thanks for your feedback > Push backups in remote git repository (or any other SCM) > -------------------------------------------------------- > > Key: JENKINS-12125 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12125 > Project: Jenkins > Issue Type: New Feature > Components: thinBackup > Reporter: Samuel Stirtzel > Assignee: Thomas Fürer > Priority: Minor > > Hi, > it would be nice if the backup could be pushed in a remote SCM (e.g. in my configuration: git). > Summarized it could be done like this: > * Check if the target directory is in a SCM (for git: check if .git directory is present) > * Automatic backup > * Stage the backup files and commit > * Push to origin (the remote repository) > Alternative to that, let the user run a shell script after backups. > Edit: > When stored in a SCM the naming scheme is disturbing, as the files should get overwritten each time a backup is running. > So if thinBackup creates "backups/FULL-2011-12-01_12-15/" and "backups/FULL-2011-12-08_12-15/" it is not possible to directly put them in a SCM without moving files around or it will create duplicate content. > -- > Regards > Samuel -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Powered by Nabble | See how NAML generates this page |
