Added Urbackup from https://github.com/HomerSlated/urbackup-client-gentoo
This commit is contained in:
parent
c7c6e8f37f
commit
0bfcc93722
31
app-backup/urbackup/Manifest
Normal file
31
app-backup/urbackup/Manifest
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
AUX btrfs_create_filesystem_snapshot 628 SHA256 18b5eceb73086b86d904f80e9270df121d06d7c683f93c5449a82e7deb38e0ee SHA512 416fb8f5f3687a3c369cc2b199d4c8b4170494f0a119566a91ac6a0c2f202dc5049804c10508b66ba657011b39be5ddd055091cd531a665b4398899f404086ca WHIRLPOOL cbb1553119fcd0c8c25f67816a55370520fb341e96bca47565b0ea9bf17c58971554be0c83bb6f2d89bdd51cbab31edf919713bf507a8a0331561fbef8e8c24e
|
||||||
|
AUX btrfs_remove_filesystem_snapshot 662 SHA256 334d9eb67a642d96e04874fd27c1b57d578c35b4cdc768d50db7ac2436f0927c SHA512 860021ce5b8d92ff58e8286991162c7bab45493c3b9c87577a43764f6b416397448bb99b8fcb850c4c5853927cb0a8637792b75ff53ee7ee257da3f5d29ae3a7 WHIRLPOOL 38c05d3f43d453a473048fd55967648e71b089771a525e4925be666bdeb583d3cb335dda97da999d27e808468e0be554149c52ef8784ed519a6e79804d7cc6fe
|
||||||
|
AUX dattobd_create_filesystem_snapshot 1605 SHA256 869e6244efbf6e370938e2e5c94a16c0130f583815ddbd34802578656989048b SHA512 fde5912b589a495dc03a26d174d7673ff746eed34d6b1ed64758b2dc2ec2ec53e02e6a28b04734a7112f16687b31d25123e99dbc69e9dcab48773675382ec582 WHIRLPOOL 34bf22cc6f2d8aa6db1fca8e06c142095e58b515f4671aa5fb64cede1ee62792f4d7c2d4694201e7c6a1445af8268bc36f6e3c46e0613321473fdb66691380e6
|
||||||
|
AUX dattobd_remove_filesystem_snapshot 1671 SHA256 23d6bdad352d33fe41acd50e0114f986cd4324c2c65ca16cea365cb99d90addd SHA512 a8b58bba1b8b0a6b70395f9fe4277eeee60a0ba534f4eddb999d719915c76b76facb54172e03b7b29b9f725a4d720e9b676b05e5081f7528570956e903fe59bd WHIRLPOOL c83864cceeca153faf9db38b9d6c63ae6112fcd4fc7cc1cc3c61d09ff2097cf38d5834e723a208d74dda75aa02aa7d0650c05017136d864857967bf1e9ec769a
|
||||||
|
AUX logrotate_urbackupclient 258 SHA256 a4e482a2735e02c2ea524b5504902d0a1f697b2d009cdb00b5460c421757f3ad SHA512 7c1bca00aeee5a37c71d097ca7dd29b8c17c876cd9c4fd00c2955d9006815d5d45d25f8d6479cc229c2b328fa413d677f03087e0a1937f7c279844f75ea3eeb1 WHIRLPOOL f75bec94bdaea4c9724a431af7ea1c557d9491adaebd782ded00b8e46d3be5401a5ac005d2bc8394cf8b591f389e6dc2c5a2a8291e91b6e45c079e09cc3eaf50
|
||||||
|
AUX lvm_create_filesystem_snapshot 1473 SHA256 d5b462879e7c80139688c9d20ce1b1fe553386df9459def5e1d093d3a13d71fb SHA512 a2d4ba03ae15582d2cd74ff68c38ff0f90d75a6eb5c241f9a022b0652fa2dc9b184439f6bda9a9538645925f739503ee7b3fc7bb232589583cdeb6dc27d74e5c WHIRLPOOL a6b0e277aa77f5134117f4e70122f85198b331458396e6992dbfa64c0ef846b4b97c5c099dfc87d4543d8cc768867502bec9bfba5ac4720ce0d3d15003aa8ea8
|
||||||
|
AUX lvm_remove_filesystem_snapshot 1262 SHA256 0ffb3bbbf5faf939564681d24786767a4706132f2f081b7a870ecc718a8e9413 SHA512 9bdfefccdd9d6e37a77975324a7c417f3de2aa59e6da0bfde3c318b8c6f3d7f4629f3a41eebee548b9c572b8ed39640434cc08bd020d25362fddffc4426438de WHIRLPOOL 9282a726c28ad333eb8196c82c9eacd36c86dc2951e0d0519be228f1143828a0e59f22139e61410295f9b1ba8c2ee8168d7f8779f68ed25121cdcf8091fb4313
|
||||||
|
AUX snapshot.cfg 641 SHA256 d339d57cbbb4b824de06d7d3f05196226c9207837674aadb34f5506152eff854 SHA512 5125051424ca48e6708997061af9c5ee74b48d0d9840f26df3bf79892c4d48293d0569f5b3c5408f1c70b493c7f56ae225a01891db7ad05e3890cfe0357999bd WHIRLPOOL 3102a3cea28931d68cf9606c5b862ab470e90c1b0ebae78d5a4debabce6f4102b8ec83ae7e83eeee59bf9f9814794c57e6b09dbb76c8000a0624479c290099cd
|
||||||
|
AUX urbackup-client-2.0.36-autoupdate.patch 6538 SHA256 71d6c0e323713302dd5a77d3c7b9f928c38d3784a7ca1d564c0698103b944750 SHA512 e29716cd16c95f24a7ad44312ed46d34560382a01b72f18ef0e9a7e4a10301a641d0b462c69b050dd6a11154c5517499be2df3a50951cf8bd0a162ad0c16d41d WHIRLPOOL 0b330d969676b614827bcc7f120a66da429df7d4d78de45c335e9d636a3bf3a18d71cc82f630bf2b5ccfb1095bbb817e88c03103c5aa2c673c5b4ecb6a91c5b1
|
||||||
|
AUX urbackup-client-2.0.36-conf.patch 456 SHA256 1f35dc35ae4aea5204a55c339172adca4589d81cda5e7e8b727d260b7cf8231a SHA512 cb5e1312cbf99c6e78b141c5b883e65f7ae7a5457060aa5b5beebcb1af43a689ba2808d133727def41955bd47fe58aea1a397a555d1a086baf24cada46ca1683 WHIRLPOOL 398377612f80e61a463e67659704d5d196dbbdcb7b938dae8a1adfd3f9b793c6a2a185881b0929d7cb3e378e7456b13abc38d1c482a80ab4b25cc45dd22f9f19
|
||||||
|
AUX urbackup-client-2.0.36-etc-perms.patch 659 SHA256 d647e8e317c9ad6c8596577ba84e0b303595a25c17f8f3aad32c4875283206b6 SHA512 e5398f5209a8b50b572e5776322520dcce70bfd1665a80790b2a86a9d384c589452240a4291af6762cce6bf3072d63fde057ce96cc673bb0a9dcf615ece8fc9c WHIRLPOOL b2352f94839d0235c9c68bddf1a5ba2e3565885cd243e58b9f920210c113b70ecfc4f45379f3dd2d8a741f4f7540f915de834cba5b0218f7ea807eaa33d71595
|
||||||
|
AUX urbackup-client-2.0.36-gcc-fortify.patch 731 SHA256 012c54691eddbd22d62594c91f146f0e4371a1f0a1b5d728745f4d108bf42302 SHA512 2b3ada4c57c90cc0bca0043e502322034d0e53a0533de73f3bcee153a4283f26dd2da7b6a30b0deb8e13d7ba14cdda80cd3d6dcbea527e7343f7d07585116f82 WHIRLPOOL 3a4ded7a36573fdf030b182e3bc3f6ed89b8da462a3b38b4f7a8df7cfc0c0bf0aeb0b7f6d5ba4062a948e27e4172d2dabd3e036858407426b5dc58741855012f
|
||||||
|
AUX urbackup-client-2.0.36-locale.patch 6156 SHA256 7e6c931c58b9ef3976e2fa0279ba542eabe8272252b4d7fde9ee2181aba7981b SHA512 16129e44da4dfbbdb825fb745ef0f77b9cbff4530ef3762360849ce14a6c4bb9d6c3d615e2d712a1d395119d78eb4648e2353ba89677d617cac8c432e5145271 WHIRLPOOL 2d1f96264b306c357d4454370258b7a443a5ff04f65592bc3e2bc2f8e337d5408a46cdf1a75670db47294d33ae6f9a566d984ee0dd44aa31b5bed9d66fbe7701
|
||||||
|
AUX urbackup-client-2.0.36-manpage.patch 764 SHA256 6b54c0c57473985bc721dee2383f7803ab0fda5292b0b51ad14898bc27eec213 SHA512 549401b24f509ab118aa70007d83b07af0c85822b82cb33ad39c64892d509064051ff23bb7413ac693df1c2a452fc19c57086a8f4412d5d4bf7aff09019eca5d WHIRLPOOL 371edbc0a764e6e31f1f4e9d279c58e4dbbb1aafe70d46e6433d1ab1d2fff759027ee1e9bc593ba1e3417bee0217bd7f14c63006e0060274640174d50fd14c15
|
||||||
|
AUX urbackup-client-2.1.7-autoupdate.patch 4009 SHA256 90da1551bd2b59bf9caab50497cff8cd78485877fc632f8c6067ac54cb6804a5 SHA512 93555d73ebf03154004f82e9e5d2c97d1c11e85984fdb48098abe13f140372ac874cea957a2c3ea5dbd9404f9461d0da85e7adf9132c168e0c1ceb92d852d714 WHIRLPOOL 51deed8c5f4cb478ff1d533978cf64e1e7ef64cdc8a403b414cd938a7cfa9df0c10aabee65ee2aadcfaf3b30f2390fb4949a1d8ef3a2f8b5ac26d5574784583c
|
||||||
|
AUX urbackup-client-2.1.7-conf.patch 454 SHA256 11225895b4c8ba21558ee15e1cf8e527e0d85a0fbe6e888bf893695db10b927b SHA512 5b6f9bd241614875871e2ce6b0144f98b173183eee57f3f406c6d5f3bb413bf485f1c0c01f9d403d5c9c4fb05fb67bbb006ca94d181dbda9d94a30ea65521cad WHIRLPOOL 9ef2b961302ae5b7e717fbc159952e31f10c679882b35b7daa9a169e7e9f91478766eae282f161397970afe8a30dd64a5843a157e8cd4664e79a2d8e51651f89
|
||||||
|
AUX urbackup-client-2.1.7-etc-perms.patch 657 SHA256 1e1f89f0a605bcc0a641f54d92fe769a016a167eaea23cf208026373a7c46797 SHA512 f6532b38d80ca82d286d171b2c2d15d33580f8f22a09f573e9fa648c0980a5bc17169f771b716305d100ce2a594e996b940716dcf07a19b14d91f59f857eba5f WHIRLPOOL 9b5a8dc8b43a2204326364375c8f1672d843bfa8c9418351fd8d1784aabe3e771ea41c368b46d897ddce9f6d271e16140553e9019764cf156844f8141d0d1d8f
|
||||||
|
AUX urbackup-client-2.1.7-gcc-fortify.patch 729 SHA256 c53567338da3a94f213e4320450d3298294f1b82eb6a490f15669c2db5216b07 SHA512 7d6c8192e10e233e2cc362aff93489cdf4ddbfb0cebe6d5e9142dde3822bb0b3d65dd6f8c7846a7de608587444dbed21f7ff62b4cca99da1ca03bdd5447c3e5a WHIRLPOOL 1727b4a5c728ba8d1ba095c78cbb3d194afbde6664877540dbd52a7af31d211dcef34a85095a58708f25972d06db12ecd517b07f8dfa531bbf958ff82fe4f1ee
|
||||||
|
AUX urbackup-client-2.1.7-locale.patch 5291 SHA256 439b44d60801094b8f42469456953d94c728c7970850189c0ec0fdb910c4dca6 SHA512 f6d10a91b3f37539cf042f6c1a893a8a2b4ef085efd3ed7f5e4c55b0465fb6d36c8e0b3eaa1d33025d582ec7e3669c0e196c80b80199ece257596cccb4d110a4 WHIRLPOOL 3d9566a7c6df00a3550c38c00d376ba6415794fd62f0eb2ed4dc7a206b7dd6b08d7d075926344b31a9a737f53a2441c1a561506c41bae1b5da0f35c59ed79582
|
||||||
|
AUX urbackup-client-2.1.7-manpage.patch 762 SHA256 8cc0c3d4c267ab4579cdb6cf75bfc08f6b800655ce6116171f1730f9f1902411 SHA512 8fd961ce1679ffb0a68a302ed3a4e361e7b91927dd8e02948ed6b39f10f3d78e123e8315e0dbc20b04e15275a1df6791952d56974f1f2082fce43cda229c17af WHIRLPOOL 4fe83c3fd40d17b915032d692494f7dc12c6d7b3ab30748b29f44b16dc41ae5a1f794c5315aca0818d4238648e15193159e7e8e7a1bdb9bb7a311648ab0851e9
|
||||||
|
AUX urbackup-client.service 262 SHA256 8923cb51a0ae3d599e286c2f2ee1e2498a5a0734a26ee9dcb19019c4d913cb82 SHA512 0c473ab8d43344b2c851359b9463986083b3a56fe435a2c357d3f6b4364da5929d70439495aea1ed4999d76e8e9668b3ca74a1b3a4dcb1e76d1ed3b39a4a5616 WHIRLPOOL 8633a8419d7e4075c8ad3143fc528bf6534773043c213ac461650bc64716a59ff7a68d9310735c02d96677df9fa3e23adc187a28426e2e40451b3fed3f727bfd
|
||||||
|
AUX urbackupclient 327 SHA256 65b7c907ab644ae5639b9b5d275498feb1ba1aeabafcaa4deb7d848f06237dbf SHA512 11a7e51f4cc74f04db9c60a76be760a526823e8163d9e246b6de6e139db19be1aa88a49b564eed60f12f9d55891d48798ba98a03b4a12e221351e638737e680e WHIRLPOOL 38df784941699513b63ee08dbd7da4a3eef5bb3f31f80f649ed737d531d71bd8581ac66d3b9e34dd371d86a6decd4c147cf0f7111924c90f02c14556b20360c2
|
||||||
|
DIST urbackup-client-2.0.36.tar.gz 3086145 SHA256 e81be8f1fa54db297a180adda46b23e883922037155f9ae30f1320ff02388786 SHA512 55e5a550695e562ed2324e1f313f711ffdac2dd3c459f9a2ed03f2ce707baddd4bdf41d1dd5df8d9fcf6b05e55bf75ea0194da713b99ef7378e1c883c2b45e86 WHIRLPOOL d7fb120562b0a43a3fabdaa776c15dbc01e2dd6be62602c91d1fbc66bd09ff75ee600c4663ec98ca462b9c3f2aa147b7fe7f119b02b0911203afeeb015094427
|
||||||
|
DIST urbackup-client-2.1.7.0.tar.gz 3298666 SHA256 d76e33d0c09c7d9d2e50e30d320b6497d1e998aa66dc473351a5a53239d18f5f SHA512 bdf0848349c6896e462f67281c6b1e76c4cea8e768bb65bfdec77db24567b826b8f0e4e43306a62ac8ba76f46a1bef25d02a4ef25b2b599b9dd8c013d4b497cd WHIRLPOOL 3dfd6335dba53ff0af765ea0680a0e2477bbef720a7aca7e341c9a11ec1acb3ef5fa9a8c5dfa16790faa8f054b7e65fec3f766c032ba6975ec5b34d0b2b6bb49
|
||||||
|
EBUILD urbackup-client-2.0.36.ebuild 2166 SHA256 092f8bd5465bfbc1c8222b124dc93ebce2c0a0ecbe116c1e2870989676119f1b SHA512 488bfcd3b272d4d4b782e422b89c1aa9bfe6332da8dacec4d009ab3572245511b4385d99b6024f5e4b56b2409a0abb2c2d50b59cc8f4607adb61e1a36b0374e0 WHIRLPOOL 51788c526c60d83814daba8ea5139c2e34a5f0e4e3930f5c03085c81272acca6872e44d2f5d1c3e47fbbb8031f6823568e64e1376c76631c525d8daecdc3fff4
|
||||||
|
EBUILD urbackup-client-2.1.7.ebuild 2190 SHA256 a22f34afad196e3e8898063a0baa256020be6ac1c13f9951c835e886f9220e4e SHA512 aeae297f1256c1b0215aa082f237f736cb43c267c81f0f4230119149308b6a524b7c1d87970671fab31113aab8a6dacfc34812b8e923eecbf7438225683b5f76 WHIRLPOOL 27be84c1511d8166533199e5441c33ac46efa1683d53c69680009b06ce61fda4507b6242cbd42b890a6f7dde88045d69342ffd6c970588351894bef13ff4866e
|
||||||
|
MISC ChangeLog 1740 SHA256 9f9638c5181a200c8655e1797e9fa2270e06b1614f835583a9ebc9ee6b4eedb9 SHA512 d880f41609fe88c1afe09d142f30c26b9d7ef17b9f4b85accce50d07968fffd5abc338032f474d3cdc1cbd71ae32d9a2efd99ffc482557fc27630d2e417cb1e3 WHIRLPOOL a39f5cd8d3fd62633f912bf4ebba0087eb5e1d8ce4d80297b92624e1113dfd888f9931e304eec7ccd5ae4ee66e2827aa200b1f127f4e18d6690f693aeae38f72
|
||||||
|
MISC LICENSE 34520 SHA256 76a97c878c9c7a8321bb395c2b44d3fe2f8d81314d219b20138ed0e2dddd5182 SHA512 3a02a6ec14e9d076b79aea8301eab31053c6600b68dcfa6261e10edaa7296a87c8767e35f2411d234b90111fcaf6b4a55c49aa2790a1a0d015213218bb7549fc WHIRLPOOL cdba1c22f8229b169b91c1c72c8c162a7f59c5bb844b6df22e95a1c266c0855741227649012f5201e93ce1b0102d441700a701bae51b29d422a912f2aa17a7aa
|
||||||
|
MISC README.md 526 SHA256 89d789f7aaae7425ef739350c832f3181572d53ff2a5d57d3acf1bdb981ae2ea SHA512 d6251feb1ee79ba17f66fa0ba5f113de02932705865ef78f03084224e28cc9c2644e577e784b90e27606e1f120ad15d599cc3f26e169d796bad02a8e826e1d64 WHIRLPOOL b331dee17241ade4c7003e76370ace9371de9e9fcb9ac0eaf5e3479b57d2ecb76cc995bf65ffc96665c8cd48e11654a0dffd8386d63fb6d547df3d7ed92edf78
|
||||||
|
MISC TODO 8 SHA256 41920b348e0c6ff2ef9b7e3ee9308726aa5250fa717883e073ff6a936a9325a4 SHA512 1e8df8094e2118a667384c50453034ce75d0c839a60383580243d2be51ec46f05cff5e81b16aa579e545cfbd5f50e663e23d3eef9623f0691b913c99c1953b58 WHIRLPOOL 0312ba98877c242ca91dfc112b40314de8fa66324e69ba7bac1b7179a7c5528b8e905081b824c73542036b565f65ce99d2d100cebcb7709f7ee1ac94a62aa1d6
|
||||||
|
MISC metadata.xml 1123 SHA256 3e7bd6718f965cf8fd0b4596233e89b78a8113ceb4f8fa7156973cfcd6611caa SHA512 dbd9fe25bfe7e5b73f19e6ee51db5f2803ee6167443fe2bcb2bd9cd9f86fb6d5f59db05f358bb2b61a876553de3c04c06f0985fc060ec0ff467b8015413b2f8b WHIRLPOOL 64104455dd442ae5f0c01b3ff3d0151e84d5ff9eb298dc8e433910ea50844a0abcd3213695a6d5b658c6edc737f11765267564367f438b0853981f194d34ae04
|
33
app-backup/urbackup/files/btrfs_create_filesystem_snapshot
Normal file
33
app-backup/urbackup/files/btrfs_create_filesystem_snapshot
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p /mnt/urbackup_snaps
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
SNAP_NAME="$3"
|
||||||
|
SNAP_ORIG_PATH="$4"
|
||||||
|
SNAP_DEST=/mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
|
||||||
|
TYPE=$(df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f2)
|
||||||
|
|
||||||
|
if [[ $TYPE == "" ]]
|
||||||
|
then
|
||||||
|
if btrfs subvolume list -o "$SNAP_MOUNTPOINT" > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
TYPE="btrfs"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $TYPE == "btrfs" ]]
|
||||||
|
then
|
||||||
|
btrfs subvolume snapshot -r "$SNAP_MOUNTPOINT" "$SNAP_DEST"
|
||||||
|
else
|
||||||
|
echo "Cannot create snapshot of file system with type $TYPE"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "SNAPSHOT=$SNAP_DEST"
|
||||||
|
|
||||||
|
exit 0
|
35
app-backup/urbackup/files/btrfs_remove_filesystem_snapshot
Normal file
35
app-backup/urbackup/files/btrfs_remove_filesystem_snapshot
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
SNAP_NAME="$3"
|
||||||
|
SNAP_DEST="$4"
|
||||||
|
SNAP_ORIG_PATH="$5"
|
||||||
|
|
||||||
|
if ! test -e $SNAP_MOUNTPOINT
|
||||||
|
then
|
||||||
|
echo "Snapshot at $SNAP_MOUNTPOINT was already removed"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
TYPE=$(df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" | tr -s " " | cut -d" " -f2)
|
||||||
|
|
||||||
|
if [[ $TYPE == "" ]]
|
||||||
|
then
|
||||||
|
if btrfs subvolume list -o "$SNAP_MOUNTPOINT" > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
TYPE="btrfs"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ $TYPE == "btrfs" ]]
|
||||||
|
then
|
||||||
|
btrfs subvolume delete "$SNAP_MOUNTPOINT"
|
||||||
|
else
|
||||||
|
echo "Cannot remove snapshot at $SNAP_MOUNTPOINT. File system type $TYPE not supported."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
87
app-backup/urbackup/files/dattobd_create_filesystem_snapshot
Normal file
87
app-backup/urbackup/files/dattobd_create_filesystem_snapshot
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p /mnt/urbackup_snaps
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
SNAP_DEST=/mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
|
||||||
|
DEVICE=$(df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f1)
|
||||||
|
TYPE=$(df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f2)
|
||||||
|
|
||||||
|
if [ "x$DEVICE" = "x" ]
|
||||||
|
then
|
||||||
|
echo "Cannot get device for filesystem $SNAP_MOUNTPOINT"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Snapshotting device $DEVICE via dattobd..."
|
||||||
|
|
||||||
|
NUM=0
|
||||||
|
|
||||||
|
while [ -e "/dev/datto$NUM" ]
|
||||||
|
do
|
||||||
|
NUM=`expr $NUM + 1`
|
||||||
|
done
|
||||||
|
|
||||||
|
if ! modprobe dattobd
|
||||||
|
then
|
||||||
|
echo "Dattobd kernel module not available"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using /dev/datto$NUM..."
|
||||||
|
|
||||||
|
sync
|
||||||
|
|
||||||
|
dbdctl setup-snapshot "$DEVICE" "$SNAP_MOUNTPOINT/.datto_$SNAP_ID" $NUM
|
||||||
|
|
||||||
|
echo $NUM > ${SNAP_DEST}-num
|
||||||
|
|
||||||
|
DEV_SIZE=`blockdev --getsize /dev/datto$NUM`
|
||||||
|
|
||||||
|
truncate -s100M $SNAP_MOUNTPOINT/.overlay_$SNAP_ID
|
||||||
|
|
||||||
|
LODEV=`losetup -f`
|
||||||
|
|
||||||
|
if [ "x$LODEV" = x ]
|
||||||
|
then
|
||||||
|
rm "${SNAP_DEST}-num"
|
||||||
|
rm $SNAP_MOUNTPOINT/.overlay_$SNAP_ID
|
||||||
|
dbdctl destroy $NUM
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
losetup $LODEV $SNAP_MOUNTPOINT/.overlay_$SNAP_ID
|
||||||
|
|
||||||
|
echo "0 $DEV_SIZE snapshot /dev/datto$NUM $LODEV N 8" | dmsetup create "wsnap-$SNAP_ID"
|
||||||
|
|
||||||
|
echo "Mounting /dev/mapper/wsnap-$SNAP_ID..."
|
||||||
|
|
||||||
|
mkdir -p $SNAP_DEST
|
||||||
|
|
||||||
|
MOUNTOPTS="ro"
|
||||||
|
|
||||||
|
if [ $TYPE = "xfs" ]
|
||||||
|
then
|
||||||
|
MOUNTOPTS="ro,nouuid"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! mount -o $MOUNTOPTS /dev/mapper/wsnap-$SNAP_ID $SNAP_DEST
|
||||||
|
then
|
||||||
|
echo "Mounting filesystem failed"
|
||||||
|
rmdir "$SNAP_DEST"
|
||||||
|
rm "${SNAP_DEST}-num"
|
||||||
|
dmsetup remove "wsnap-$SNAP_ID"
|
||||||
|
losetup -d $LODEV
|
||||||
|
rm $SNAP_MOUNTPOINT/.overlay_$SNAP_ID
|
||||||
|
dbdctl destroy $NUM
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "SNAPSHOT=$SNAP_DEST"
|
||||||
|
|
||||||
|
exit 0
|
74
app-backup/urbackup/files/dattobd_remove_filesystem_snapshot
Normal file
74
app-backup/urbackup/files/dattobd_remove_filesystem_snapshot
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
SNAP_ORIG_PATH="$5"
|
||||||
|
|
||||||
|
remove_overlay() {
|
||||||
|
if test -e "$SNAP_ORIG_PATH/.overlay_$SNAP_ID"
|
||||||
|
then
|
||||||
|
LODEV=`losetup -j "$SNAP_ORIG_PATH/.overlay_$SNAP_ID" | cut -d':' -f1`
|
||||||
|
if [ "x$LODEV" != x ]
|
||||||
|
then
|
||||||
|
losetup -d $LODEV
|
||||||
|
fi
|
||||||
|
rm "$SNAP_ORIG_PATH/.overlay_$SNAP_ID"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
if ! test -e $SNAP_MOUNTPOINT
|
||||||
|
then
|
||||||
|
echo "Snapshot at $SNAP_MOUNTPOINT was already removed"
|
||||||
|
[ ! -e "$SNAP_ORIG_PATH/.datto_$SNAP_ID" ] || rm "$SNAP_ORIG_PATH/.datto_$SNAP_ID"
|
||||||
|
[ ! -e "${SNAP_MOUNTPOINT}-num" ] || rm "${SNAP_MOUNTPOINT}-num"
|
||||||
|
remove_overlay
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
echo "Snapshot is not mounted. Already removed"
|
||||||
|
rm "${SNAP_MOUNTPOINT}-num"
|
||||||
|
rmdir "${SNAP_MOUNTPOINT}"
|
||||||
|
[ ! -e "$SNAP_ORIG_PATH/.datto_$SNAP_ID" ] || rm "$SNAP_ORIG_PATH/.datto_$SNAP_ID"
|
||||||
|
remove_overlay
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
NUM=`cat "${SNAP_MOUNTPOINT}-num"` || true
|
||||||
|
|
||||||
|
if [ "x$NUM" = "x" ]
|
||||||
|
then
|
||||||
|
echo "Cannot get device number from ${SNAP_MOUNTPOINT}-num"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Unmounting /dev/datto$NUM at /mnt/urbackup_snaps/$SNAP_ID..."
|
||||||
|
|
||||||
|
if ! umount /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
then
|
||||||
|
lsof | grep /mnt/urbackup_snaps/$SNAP_ID || true
|
||||||
|
echo "Unmounting /mnt/urbackup_snaps/$SNAP_ID failed. Retrying in 10s..."
|
||||||
|
sleep 10
|
||||||
|
umount /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
rm "${SNAP_MOUNTPOINT}-num"
|
||||||
|
rmdir "${SNAP_MOUNTPOINT}"
|
||||||
|
|
||||||
|
echo "Removing devicemapper snapshot..."
|
||||||
|
|
||||||
|
dmsetup remove "wsnap-$SNAP_ID"
|
||||||
|
|
||||||
|
remove_overlay
|
||||||
|
|
||||||
|
echo "Destroying dattobd snapshot /dev/datto$NUM..."
|
||||||
|
|
||||||
|
dbdctl destroy $NUM
|
||||||
|
|
||||||
|
[ ! -e "$SNAP_ORIG_PATH/.datto_$SNAP_ID" ] || rm "$SNAP_ORIG_PATH/.datto_$SNAP_ID"
|
||||||
|
|
||||||
|
exit 0
|
10
app-backup/urbackup/files/logrotate_urbackupclient
Normal file
10
app-backup/urbackup/files/logrotate_urbackupclient
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
"/var/log/urbackupclient.log" {
|
||||||
|
weekly
|
||||||
|
rotate 12
|
||||||
|
missingok
|
||||||
|
create 640 root root
|
||||||
|
compress
|
||||||
|
postrotate
|
||||||
|
test -e /var/run/urbackupclient.pid && kill -HUP `cat /var/run/urbackupclient.pid` || /bin/systemctl kill -s HUP urbackup-client.service
|
||||||
|
endscript
|
||||||
|
}
|
67
app-backup/urbackup/files/lvm_create_filesystem_snapshot
Normal file
67
app-backup/urbackup/files/lvm_create_filesystem_snapshot
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
#For 20GB
|
||||||
|
#SNAP_SIZE="-L20G"
|
||||||
|
SNAP_SIZE="-l50%FREE"
|
||||||
|
|
||||||
|
mkdir -p /mnt/urbackup_snaps
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
SNAP_DEST=/mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
|
||||||
|
if lsblk -r --output "NAME,MOUNTPOINT" --paths > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
VOLNAME=`lsblk -r --output "NAME,MOUNTPOINT" --paths | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f1`
|
||||||
|
else
|
||||||
|
VOLNAME=`lsblk -r --output "NAME,MOUNTPOINT" | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f1`
|
||||||
|
VOLNAME="/dev/mapper/$VOLNAME"
|
||||||
|
fi
|
||||||
|
|
||||||
|
TYPE=`df -T -P | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f2`
|
||||||
|
|
||||||
|
if [ "x$VOLNAME" = x ]
|
||||||
|
then
|
||||||
|
echo "Could not find LVM volume for mountpoint ${SNAP_MOUNTPOINT}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
export LVM_SUPPRESS_FD_WARNINGS=1
|
||||||
|
|
||||||
|
VGNAME=`lvdisplay "$VOLNAME" | grep "VG Name" | tr -s " " | cut -d" " -f4`
|
||||||
|
if [ "x$VGNAME" = x ]
|
||||||
|
then
|
||||||
|
echo "Could not find LVM volume group of volume $VOLNAME"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "x$SNAP_ID" = x ]
|
||||||
|
then
|
||||||
|
echo "No snapshot id specified"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
lvcreate $SNAP_SIZE -s -n urbackup_snap_$SNAP_ID "$VOLNAME"
|
||||||
|
|
||||||
|
mkdir -p /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
|
||||||
|
MOUNTOPTS="ro"
|
||||||
|
|
||||||
|
if [ $TYPE = "xfs" ]
|
||||||
|
then
|
||||||
|
MOUNTOPTS="ro,nouuid"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! mount -o $MOUNTOPTS /dev/$VGNAME/urbackup_snap_$SNAP_ID /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
then
|
||||||
|
echo "Mounting filesystem failed"
|
||||||
|
rmdir /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
lvremove -f /dev/$VGNAME/urbackup_snap_$SNAP_ID
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "SNAPSHOT=/mnt/urbackup_snaps/$SNAP_ID"
|
||||||
|
|
||||||
|
exit 0
|
56
app-backup/urbackup/files/lvm_remove_filesystem_snapshot
Normal file
56
app-backup/urbackup/files/lvm_remove_filesystem_snapshot
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
SNAP_ID=$1
|
||||||
|
SNAP_MOUNTPOINT="$2"
|
||||||
|
|
||||||
|
if ! test -e $SNAP_MOUNTPOINT
|
||||||
|
then
|
||||||
|
echo "Snapshot at $SNAP_MOUNTPOINT was already removed"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! df -T -P | egrep "${SNAP_MOUNTPOINT}\$" > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
echo "Snapshot is not mounted. Already removed"
|
||||||
|
rmdir "${SNAP_MOUNTPOINT}"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if lsblk -r --output "NAME,MOUNTPOINT" --paths > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
VOLNAME=`lsblk -r --output "NAME,MOUNTPOINT" --paths | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f1`
|
||||||
|
else
|
||||||
|
VOLNAME=`lsblk -r --output "NAME,MOUNTPOINT" | egrep " ${SNAP_MOUNTPOINT}\$" | head -n 1 | tr -s " " | cut -d" " -f1`
|
||||||
|
VOLNAME="/dev/mapper/$VOLNAME"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "x$VOLNAME" = x ]
|
||||||
|
then
|
||||||
|
echo "Could not find LVM volume for mountpoint ${SNAP_MOUNTPOINT}"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -e "$VOLNAME" ]
|
||||||
|
then
|
||||||
|
echo "LVM volume for mountpoint ${SNAP_MOUNTPOINT} does not exist"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Unmounting $VOLNAME at /mnt/urbackup_snaps/$SNAP_ID..."
|
||||||
|
|
||||||
|
if ! umount /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
then
|
||||||
|
lsof | grep /mnt/urbackup_snaps/$SNAP_ID || true
|
||||||
|
sleep 10
|
||||||
|
umount /mnt/urbackup_snaps/$SNAP_ID
|
||||||
|
fi
|
||||||
|
|
||||||
|
rmdir "${SNAP_MOUNTPOINT}"
|
||||||
|
|
||||||
|
echo "Destroying LVM snapshot $VOLNAME..."
|
||||||
|
|
||||||
|
export LVM_SUPPRESS_FD_WARNINGS=1
|
||||||
|
|
||||||
|
lvremove -f "$VOLNAME"
|
9
app-backup/urbackup/files/snapshot.cfg
Normal file
9
app-backup/urbackup/files/snapshot.cfg
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Uncomment one of the following, if supported
|
||||||
|
#create_filesystem_snapshot="/usr/share/urbackup/scripts/btrfs_create_filesystem_snapshot"
|
||||||
|
#create_filesystem_snapshot="/usr/share/urbackup/scripts/dattobd_create_filesystem_snapshot"
|
||||||
|
#create_filesystem_snapshot="/usr/share/urbackup/scripts/lvm_create_filesystem_snapshot"
|
||||||
|
|
||||||
|
# Uncomment one of the following, if supported
|
||||||
|
#remove_filesystem_snapshot="/usr/share/urbackup/scripts/btrfs_remove_filesystem_snapshot"
|
||||||
|
#remove_filesystem_snapshot="/usr/share/urbackup/scripts/dattobd_remove_filesystem_snapshot"
|
||||||
|
#remove_filesystem_snapshot="/usr/share/urbackup/scripts/lvm_remove_filesystem_snapshot"
|
@ -0,0 +1,43 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-12 00:37:35.211787887 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-12 00:40:03.010786666 +0000
|
||||||
|
@@ -1058,7 +1058,7 @@
|
||||||
|
$(urbackupclientctl_headers) $(client_headers) \
|
||||||
|
$(tclap_headers) $(urbackupclient_headers) $(cryptopp_headers)
|
||||||
|
EXTRA_DIST_GUI = client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm client/data/logo1.png client/data/lang/it/urbackup.mo client/data/lang/pl/urbackup.mo client/data/lang/pt_BR/urbackup.mo client/data/lang/sk/urbackup.mo client/data/lang/zh_TW/urbackup.mo client/data/lang/zh_CN/urbackup.mo client/data/lang/de/urbackup.mo client/data/lang/es/urbackup.mo client/data/lang/fr/urbackup.mo client/data/lang/ru/urbackup.mo client/data/lang/uk/urbackup.mo client/data/lang/da/urbackup.mo client/data/lang/nl/urbackup.mo client/data/lang/fa/urbackup.mo client/data/lang/cs/urbackup.mo client/gui/GUISetupWizard.h client/SetupWizard.h
|
||||||
|
-EXTRA_DIST = docs/urbackupclientbackend.1 init.d_client init.d_client_rh defaults_client $(EXTRA_DIST_GUI) tclap/COPYING tclap/AUTHORS urbackupclientbackend-debian.service urbackupclientbackend-redhat.service urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump urbackupclient/backup_scripts/postgresbase urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup client/version.txt client/data/urbackup_ecdsa409k1.pub linux_snapshot/btrfs_create_filesystem_snapshot linux_snapshot/btrfs_remove_filesystem_snapshot linux_snapshot/dattobd_create_filesystem_snapshot linux_snapshot/dattobd_remove_filesystem_snapshot linux_snapshot/lvm_create_filesystem_snapshot linux_snapshot/lvm_remove_filesystem_snapshot client/data/updates_h.dat
|
||||||
|
+EXTRA_DIST = docs/urbackupclientbackend.1 init.d_client init.d_client_rh defaults_client $(EXTRA_DIST_GUI) tclap/COPYING tclap/AUTHORS urbackupclientbackend-debian.service urbackupclientbackend-redhat.service urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump urbackupclient/backup_scripts/postgresbase urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup linux_snapshot/btrfs_create_filesystem_snapshot linux_snapshot/btrfs_remove_filesystem_snapshot linux_snapshot/dattobd_create_filesystem_snapshot linux_snapshot/dattobd_remove_filesystem_snapshot linux_snapshot/lvm_create_filesystem_snapshot linux_snapshot/lvm_remove_filesystem_snapshot client/data/updates_h.dat
|
||||||
|
all: config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
|
@@ -5365,19 +5365,19 @@
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/info.txt client/data/backup-bad.ico client/data/backup-ok.ico client/data/backup-progress.ico \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/backup-progress-pause.ico client/data/backup-no-server.ico client/data/backup-no-recent.ico client/data/backup-indexing.ico \
|
||||||
|
-@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/data/updates_h.dat
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/postgresbase \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm \
|
||||||
|
-@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/data/updates_h.dat
|
||||||
|
@WITH_GUI_CLIENT_FALSE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/postgresbase \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
-@WITH_GUI_CLIENT_FALSE@ client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@WITH_GUI_CLIENT_FALSE@ client/data/updates_h.dat
|
||||||
|
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/urbackup/"
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/scripts"
|
||||||
|
@@ -5396,8 +5396,6 @@
|
||||||
|
for script in "$(DESTDIR)$(datadir)/urbackup/scripts/"*; do sed "s|SYSCONFDIR|$(sysconfdir)/urbackup|g" "$$script" > "$$script.r"; mv "$$script.r" "$$script"; done
|
||||||
|
chmod 700 "$(DESTDIR)$(datadir)/urbackup/scripts/"*
|
||||||
|
chmod 700 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
- $(INSTALL_DATA) "$(srcdir)/client/version.txt" "$(DESTDIR)$(localstatedir)/urbackup/version.txt"
|
||||||
|
- $(INSTALL_DATA) "$(srcdir)/client/data/urbackup_ecdsa409k1.pub" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
$(INSTALL_DATA) "$(srcdir)/client/data/updates_h.dat" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup"
|
10
app-backup/urbackup/files/urbackup-client-2.0.36-conf.patch
Normal file
10
app-backup/urbackup/files/urbackup-client-2.0.36-conf.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/defaults_client.orig 2016-12-14 10:18:18.865859774 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/defaults_client 2016-12-14 10:18:36.959859657 +0000
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
# Defaults for urbackup_client initscript
|
||||||
|
# sourced by /etc/init.d/urbackupclientbackend
|
||||||
|
-# installed at /etc/default/urbackupclient by the maintainer scripts
|
||||||
|
+# installed at /etc/conf.d/urbackupclient by the maintainer scripts
|
||||||
|
|
||||||
|
#
|
||||||
|
# This is parsed as a key=value file
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-23 20:39:12.807716385 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-23 20:44:10.582699173 +0000
|
||||||
|
@@ -5397,7 +5397,7 @@
|
||||||
|
|
||||||
|
for script in "$(DESTDIR)$(datadir)/urbackup/scripts/"*; do sed "s|SYSCONFDIR|$(sysconfdir)/urbackup|g" "$$script" > "$$script.r"; mv "$$script.r" "$$script"; done
|
||||||
|
chmod 700 "$(DESTDIR)$(datadir)/urbackup/scripts/"*
|
||||||
|
- chmod 700 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
+ chmod 644 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
$(INSTALL_DATA) "$(srcdir)/client/data/updates_h.dat" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup"
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-11 06:35:06.995980034 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-11 06:35:38.645979659 +0000
|
||||||
|
@@ -935,7 +935,7 @@
|
||||||
|
fileservplugin/PipeFileBase.cpp \
|
||||||
|
fileservplugin/FileMetadataPipe.cpp \
|
||||||
|
fileservplugin/PipeFileTar.cpp
|
||||||
|
-@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE
|
||||||
|
+@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIE
|
||||||
|
@WITH_FORTIFY_TRUE@FORTIFY_ldflags = -Wl,-z,relro
|
||||||
|
urbackupclientbackend_LDADD = $(PTHREAD_LIBS) $(DLOPEN_LIBS) \
|
||||||
|
$(am__append_2)
|
@ -0,0 +1,48 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-14 15:35:45.671736277 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-14 15:38:55.013735050 +0000
|
||||||
|
@@ -1057,7 +1057,7 @@
|
||||||
|
$(fileservplugin_headers) $(fsimageplugin_headers) \
|
||||||
|
$(urbackupclientctl_headers) $(client_headers) \
|
||||||
|
$(tclap_headers) $(urbackupclient_headers) $(cryptopp_headers)
|
||||||
|
-EXTRA_DIST_GUI = client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm client/data/logo1.png client/data/lang/it/urbackup.mo client/data/lang/pl/urbackup.mo client/data/lang/pt_BR/urbackup.mo client/data/lang/sk/urbackup.mo client/data/lang/zh_TW/urbackup.mo client/data/lang/zh_CN/urbackup.mo client/data/lang/de/urbackup.mo client/data/lang/es/urbackup.mo client/data/lang/fr/urbackup.mo client/data/lang/ru/urbackup.mo client/data/lang/uk/urbackup.mo client/data/lang/da/urbackup.mo client/data/lang/nl/urbackup.mo client/data/lang/fa/urbackup.mo client/data/lang/cs/urbackup.mo client/gui/GUISetupWizard.h client/SetupWizard.h
|
||||||
|
+EXTRA_DIST_GUI = client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm client/data/logo1.png client/gui/GUISetupWizard.h client/SetupWizard.h
|
||||||
|
EXTRA_DIST = docs/urbackupclientbackend.1 init.d_client init.d_client_rh defaults_client $(EXTRA_DIST_GUI) tclap/COPYING tclap/AUTHORS urbackupclientbackend-debian.service urbackupclientbackend-redhat.service urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump urbackupclient/backup_scripts/postgresbase urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup linux_snapshot/btrfs_create_filesystem_snapshot linux_snapshot/btrfs_remove_filesystem_snapshot linux_snapshot/dattobd_create_filesystem_snapshot linux_snapshot/dattobd_remove_filesystem_snapshot linux_snapshot/lvm_create_filesystem_snapshot linux_snapshot/lvm_remove_filesystem_snapshot client/data/updates_h.dat
|
||||||
|
all: config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
@@ -5405,36 +5405,6 @@
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/data/*.ico "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/data/*.xpm "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/info.txt "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/it"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/pl"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/pt_BR"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/sk"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/zh_TW"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/zh_CN"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/de"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/es"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/fr"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/ru"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/uk"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/da"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/nl"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/fa"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/cs"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/it/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/it/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/pl/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/pl/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/pt_BR/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/pt_BR/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/sk/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/sk/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/zh_TW/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/zh_TW/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/zh_CN/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/zh_CN/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/de/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/de/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/es/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/es/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/fr/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/fr/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/ru/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/ru/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/uk/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/uk/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/da/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/da/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/nl/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/nl/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/fa/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/fa/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/cs/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/cs/urbackup.mo"
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.0.36.0/Makefile.in.orig 2016-12-14 09:48:27.808871387 +0000
|
||||||
|
+++ urbackup-client-2.0.36.0/Makefile.in 2016-12-14 10:07:13.401864089 +0000
|
||||||
|
@@ -5358,6 +5358,8 @@
|
||||||
|
|
||||||
|
mkdir -p "$(DESTDIR)$(localstatedir)/urbackup"
|
||||||
|
mkdir -p "$(DESTDIR)$(localstatedir)/urbackup/data"
|
||||||
|
+ mkdir -p "$(DESTDIR)$(datadir)/man/man1"
|
||||||
|
+ $(INSTALL_DATA) $(srcdir)/docs/urbackupclientbackend.1 "$(DESTDIR)$(datadir)/man/man1/urbackupclientbackend.1"
|
||||||
|
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
@ -0,0 +1,42 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/Makefile.in.orig 2016-12-17 06:42:44.392727732 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/Makefile.in 2016-12-17 06:44:56.947725972 +0000
|
||||||
|
@@ -1085,7 +1085,6 @@
|
||||||
|
urbackupclient/backup_scripts/mariadbpostbackup \
|
||||||
|
urbackupclient/backup_scripts/setup-mariadbbackup \
|
||||||
|
urbackupclient/backup_scripts/restore-mariadbbackup \
|
||||||
|
- client/version.txt client/data/urbackup_ecdsa409k1.pub \
|
||||||
|
linux_snapshot/btrfs_create_filesystem_snapshot \
|
||||||
|
linux_snapshot/btrfs_remove_filesystem_snapshot \
|
||||||
|
linux_snapshot/dattobd_create_filesystem_snapshot \
|
||||||
|
@@ -5417,19 +5416,19 @@
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/info.txt client/data/backup-bad.ico client/data/backup-ok.ico client/data/backup-progress.ico \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/backup-progress-pause.ico client/data/backup-no-server.ico client/data/backup-no-recent.ico client/data/backup-indexing.ico \
|
||||||
|
-@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/data/updates_h.dat
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/postgresbase \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm \
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm \
|
||||||
|
-@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ client/data/logo1.png client/data/lang/*/*.mo client/data/updates_h.dat
|
||||||
|
@WITH_GUI_CLIENT_FALSE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/postgresbase.conf urbackupclient/backup_scripts/postgresbase \
|
||||||
|
@WITH_GUI_CLIENT_FALSE@ urbackupclient/backup_scripts/mariadbxtrabackup.conf urbackupclient/backup_scripts/mariadbxtrabackup \
|
||||||
|
-@WITH_GUI_CLIENT_FALSE@ client/version.txt client/data/urbackup_ecdsa409k1.pub client/data/updates_h.dat
|
||||||
|
+@WITH_GUI_CLIENT_FALSE@ client/data/updates_h.dat
|
||||||
|
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/urbackup/"
|
||||||
|
$(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/scripts"
|
||||||
|
@@ -5455,8 +5454,6 @@
|
||||||
|
for script in "$(DESTDIR)$(datadir)/urbackup/scripts/"*; do sed "s|SYSCONFDIR|$(sysconfdir)/urbackup|g" "$$script" > "$$script.r"; mv "$$script.r" "$$script"; done
|
||||||
|
chmod 700 "$(DESTDIR)$(datadir)/urbackup/scripts/"*
|
||||||
|
chmod 700 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
- $(INSTALL_DATA) "$(srcdir)/client/version.txt" "$(DESTDIR)$(localstatedir)/urbackup/version.txt"
|
||||||
|
- $(INSTALL_DATA) "$(srcdir)/client/data/urbackup_ecdsa409k1.pub" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
$(INSTALL_DATA) "$(srcdir)/client/data/updates_h.dat" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup"
|
10
app-backup/urbackup/files/urbackup-client-2.1.7-conf.patch
Normal file
10
app-backup/urbackup/files/urbackup-client-2.1.7-conf.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/defaults_client.orig 2016-12-17 06:48:17.231723312 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/defaults_client 2016-12-17 06:48:29.152723153 +0000
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
# Defaults for urbackup_client initscript
|
||||||
|
# sourced by /etc/init.d/urbackupclientbackend
|
||||||
|
-# installed at /etc/default/urbackupclient by the maintainer scripts
|
||||||
|
+# installed at /etc/conf.d/urbackupclient by the maintainer scripts
|
||||||
|
|
||||||
|
#
|
||||||
|
# This is parsed as a key=value file
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/Makefile.in.orig 2016-12-23 20:48:23.003684583 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/Makefile.in 2016-12-23 20:48:52.383682885 +0000
|
||||||
|
@@ -5455,7 +5455,7 @@
|
||||||
|
|
||||||
|
for script in "$(DESTDIR)$(datadir)/urbackup/scripts/"*; do sed "s|SYSCONFDIR|$(sysconfdir)/urbackup|g" "$$script" > "$$script.r"; mv "$$script.r" "$$script"; done
|
||||||
|
chmod 700 "$(DESTDIR)$(datadir)/urbackup/scripts/"*
|
||||||
|
- chmod 700 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
+ chmod 644 "$(DESTDIR)$(sysconfdir)/urbackup/"*
|
||||||
|
$(INSTALL_DATA) "$(srcdir)/client/data/updates_h.dat" "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup"
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/Makefile.in.orig 2016-12-15 19:25:03.000000000 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/Makefile.in 2016-12-17 06:33:28.964735108 +0000
|
||||||
|
@@ -939,7 +939,7 @@
|
||||||
|
fileservplugin/PipeFileBase.cpp \
|
||||||
|
fileservplugin/FileMetadataPipe.cpp \
|
||||||
|
fileservplugin/PipeFileTar.cpp
|
||||||
|
-@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIE
|
||||||
|
+@WITH_FORTIFY_TRUE@FORTIFY_FLAGS = -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIE
|
||||||
|
@WITH_FORTIFY_TRUE@FORTIFY_ldflags = -Wl,-z,relro
|
||||||
|
urbackupclientbackend_LDADD = $(PTHREAD_LIBS) $(DLOPEN_LIBS) \
|
||||||
|
$(am__append_2)
|
48
app-backup/urbackup/files/urbackup-client-2.1.7-locale.patch
Normal file
48
app-backup/urbackup/files/urbackup-client-2.1.7-locale.patch
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/Makefile.in.orig 2016-12-17 06:51:08.068721043 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/Makefile.in 2016-12-17 06:53:14.737719361 +0000
|
||||||
|
@@ -1063,7 +1063,7 @@
|
||||||
|
$(fsimageplugin_headers) $(urbackupclientctl_headers) \
|
||||||
|
$(client_headers) $(tclap_headers) $(urbackupclient_headers) \
|
||||||
|
$(cryptopp_headers)
|
||||||
|
-EXTRA_DIST_GUI = client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm client/data/logo1.png client/data/lang/it/urbackup.mo client/data/lang/pl/urbackup.mo client/data/lang/pt_BR/urbackup.mo client/data/lang/sk/urbackup.mo client/data/lang/zh_TW/urbackup.mo client/data/lang/zh_CN/urbackup.mo client/data/lang/de/urbackup.mo client/data/lang/es/urbackup.mo client/data/lang/fr/urbackup.mo client/data/lang/ru/urbackup.mo client/data/lang/uk/urbackup.mo client/data/lang/da/urbackup.mo client/data/lang/nl/urbackup.mo client/data/lang/fa/urbackup.mo client/data/lang/cs/urbackup.mo client/gui/GUISetupWizard.h client/SetupWizard.h
|
||||||
|
+EXTRA_DIST_GUI = client/info.txt client/data/backup-bad.xpm client/data/backup-ok.xpm client/data/backup-progress.xpm client/data/backup-progress-pause.xpm client/data/backup-no-server.xpm client/data/backup-no-recent.xpm client/data/backup-indexing.xpm client/data/logo1.png client/gui/GUISetupWizard.h client/SetupWizard.h
|
||||||
|
EXTRA_DIST = docs/urbackupclientbackend.1 init.d_client \
|
||||||
|
init.d_client_rh defaults_client $(EXTRA_DIST_GUI) \
|
||||||
|
tclap/COPYING tclap/AUTHORS \
|
||||||
|
@@ -5461,36 +5461,6 @@
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/data/*.ico "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
@MACOSX_FALSE@@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/data/*.xpm "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) $(srcdir)/client/info.txt "$(DESTDIR)$(datadir)/urbackup/"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/it"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/pl"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/pt_BR"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/sk"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/zh_TW"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/zh_CN"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/de"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/es"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/fr"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/ru"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/uk"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/da"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/nl"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/fa"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(MKDIR_P) "$(DESTDIR)$(datadir)/urbackup/lang/cs"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/it/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/it/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/pl/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/pl/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/pt_BR/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/pt_BR/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/sk/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/sk/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/zh_TW/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/zh_TW/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/zh_CN/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/zh_CN/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/de/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/de/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/es/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/es/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/fr/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/fr/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/ru/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/ru/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/uk/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/uk/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/da/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/da/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/nl/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/nl/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/fa/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/fa/urbackup.mo"
|
||||||
|
-@WITH_GUI_CLIENT_TRUE@ $(INSTALL_DATA) "$(srcdir)/client/data/lang/cs/urbackup.mo" "$(DESTDIR)$(datadir)/urbackup/lang/cs/urbackup.mo"
|
||||||
|
|
||||||
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
@ -0,0 +1,11 @@
|
|||||||
|
--- urbackup-client-2.1.7.0/Makefile.in.orig 2016-12-17 06:53:14.737719361 +0000
|
||||||
|
+++ urbackup-client-2.1.7.0/Makefile.in 2016-12-17 06:55:50.504717292 +0000
|
||||||
|
@@ -5409,6 +5409,8 @@
|
||||||
|
|
||||||
|
mkdir -p "$(DESTDIR)$(localstatedir)/urbackup"
|
||||||
|
mkdir -p "$(DESTDIR)$(localstatedir)/urbackup/data"
|
||||||
|
+ mkdir -p "$(DESTDIR)$(datadir)/man/man1"
|
||||||
|
+ $(INSTALL_DATA) $(srcdir)/docs/urbackupclientbackend.1 "$(DESTDIR)$(datadir)/man/man1/urbackupclientbackend.1"
|
||||||
|
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@install-data-local: urbackupclient/backup_scripts/list urbackupclient/backup_scripts/mariadbdump.conf urbackupclient/backup_scripts/mariadbdump \
|
||||||
|
@MACOSX_TRUE@@WITH_GUI_CLIENT_TRUE@ urbackupclient/backup_scripts/postgresqldump.conf urbackupclient/backup_scripts/postgresqldump \
|
11
app-backup/urbackup/files/urbackup-client.service
Normal file
11
app-backup/urbackup/files/urbackup-client.service
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=UrBackup backup client backend
|
||||||
|
After=syslog.target network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=root
|
||||||
|
ExecStart=/usr/sbin/urbackupclientbackend -c /etc/conf.d/urbackupclient -w /var/run/urbackupclient.pid -d
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
13
app-backup/urbackup/files/urbackupclient
Normal file
13
app-backup/urbackup/files/urbackupclient
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
URBACKUPCLIENT_CONFIG="/etc/conf.d/urbackupclient"
|
||||||
|
URBACKUPCLIENT_PIDFILE="/var/run/urbackupclient.pid"
|
||||||
|
|
||||||
|
command="/usr/sbin/urbackupclientbackend"
|
||||||
|
command_args="-c ${URBACKUPCLIENT_CONFIG} -w ${URBACKUPCLIENT_PIDFILE} -d"
|
||||||
|
pidfile="${URBACKUPCLIENT_PIDFILE}"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
use logger net urbackupsrv
|
||||||
|
}
|
21
app-backup/urbackup/metadata.xml
Normal file
21
app-backup/urbackup/metadata.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>gentoo@slated.org</email>
|
||||||
|
<name>Homer</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">urbackup-backend</remote-id>
|
||||||
|
</upstream>
|
||||||
|
<longdescription>UrBackup is an easy to setup Open Source client/server backup system, that through a combination of image (currently on Windows only) and file backups accomplishes both data safety and a fast restoration time.
|
||||||
|
|
||||||
|
Backups are made while the system is running without interrupting current processes.
|
||||||
|
|
||||||
|
UrBackup also continuously watches folders you want backed up in order to quickly find differences to previous backups. Because of that, incremental file backups are really fast.
|
||||||
|
|
||||||
|
Your files can be restored through the web interface, via app-backup/urbackup-client or the file manager, while the backups of drive volumes can be restored with a bootable CD or USB-Stick (bare metal restore).</longdescription>
|
||||||
|
<use>
|
||||||
|
<flag name="X">Enables building the wxWidgets GUI</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
72
app-backup/urbackup/urbackup-client-2.0.36.ebuild
Normal file
72
app-backup/urbackup/urbackup-client-2.0.36.ebuild
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# copyright © 2016 slated.org
|
||||||
|
# Distributed under the terms of the AGPLv3+
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit wxwidgets l10n systemd
|
||||||
|
|
||||||
|
PLOCALES="cs da de es fa fr it nl pl pt_BR ru sk uk zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
DESCRIPTION="Client for UrBackup server"
|
||||||
|
HOMEPAGE="https://www.urbackup.org"
|
||||||
|
SRC_URI="https://hndl.urbackup.org/Client/${PV}/${P}.tar.gz"
|
||||||
|
S=${WORKDIR}/${P}.0
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="hardened X zlib linguas_cs linguas_da linguas_de linguas_es linguas_fa linguas_fr linguas_it linguas_nl linguas_pl linguas_pt_BR linguas_ru linguas_sk linguas_uk linguas_zh_CN linguas_zh_TW"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-db/sqlite
|
||||||
|
X? ( x11-libs/wxGTK:2.9 )
|
||||||
|
>=dev-libs/crypto++-5.1
|
||||||
|
zlib? ( sys-libs/zlib )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-gcc-fortify.patch"
|
||||||
|
"${FILESDIR}/${P}-autoupdate.patch"
|
||||||
|
"${FILESDIR}/${P}-manpage.patch"
|
||||||
|
"${FILESDIR}/${P}-conf.patch"
|
||||||
|
"${FILESDIR}/${P}-locale.patch"
|
||||||
|
"${FILESDIR}/${P}-etc-perms.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable hardened fortify) \
|
||||||
|
$(use_enable !X headless) \
|
||||||
|
$(use_with zlib) \
|
||||||
|
--disable-clientupdate
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir "${EPREFIX}"/usr/share/man/man1
|
||||||
|
install_locale_docs() {
|
||||||
|
local locale_doc="client/data/lang/$1/urbackup.mo"
|
||||||
|
insinto "${EPREFIX}"/usr/share/locale/$1/LC_MESSAGES
|
||||||
|
[[ ! -e ${locale_doc} ]] || doins ${locale_doc}
|
||||||
|
}
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
if use X
|
||||||
|
then l10n_for_each_locale_do install_locale_docs
|
||||||
|
fi
|
||||||
|
insinto "${EPREFIX}"/etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/logrotate_urbackupclient urbackupclient
|
||||||
|
newconfd defaults_client urbackupclient
|
||||||
|
doinitd "${FILESDIR}"/urbackupclient
|
||||||
|
systemd_dounit "${FILESDIR}"/urbackup-client.service
|
||||||
|
dodir "${EPREFIX}"/etc/urbackup
|
||||||
|
insinto "${EPREFIX}"/etc/urbackup
|
||||||
|
doins "${FILESDIR}"/snapshot.cfg
|
||||||
|
insinto "${EPREFIX}"/usr/share/urbackup/scripts
|
||||||
|
insopts -m0700
|
||||||
|
doins "${FILESDIR}"/btrfs_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/btrfs_remove_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/dattobd_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/dattobd_remove_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/lvm_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/lvm_remove_filesystem_snapshot
|
||||||
|
}
|
72
app-backup/urbackup/urbackup-client-2.1.7.ebuild
Normal file
72
app-backup/urbackup/urbackup-client-2.1.7.ebuild
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
# copyright © 2016 slated.org
|
||||||
|
# Distributed under the terms of the AGPLv3+
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
inherit wxwidgets l10n systemd
|
||||||
|
|
||||||
|
PLOCALES="cs da de es fa fr it nl pl pt_BR ru sk uk zh_CN zh_TW"
|
||||||
|
PLOCALE_BACKUP="en"
|
||||||
|
|
||||||
|
DESCRIPTION="Client for UrBackup server"
|
||||||
|
HOMEPAGE="https://www.urbackup.org"
|
||||||
|
SRC_URI="https://ssl.webpack.de/beta.urbackup.org/Client/${PV}%20beta/${P}.0.tar.gz"
|
||||||
|
S=${WORKDIR}/${P}.0
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="hardened X zlib linguas_cs linguas_da linguas_de linguas_es linguas_fa linguas_fr linguas_it linguas_nl linguas_pl linguas_pt_BR linguas_ru linguas_sk linguas_uk linguas_zh_CN linguas_zh_TW"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-db/sqlite
|
||||||
|
X? ( x11-libs/wxGTK:2.9 )
|
||||||
|
>=dev-libs/crypto++-5.1
|
||||||
|
zlib? ( sys-libs/zlib )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-gcc-fortify.patch"
|
||||||
|
"${FILESDIR}/${P}-autoupdate.patch"
|
||||||
|
"${FILESDIR}/${P}-manpage.patch"
|
||||||
|
"${FILESDIR}/${P}-conf.patch"
|
||||||
|
"${FILESDIR}/${P}-locale.patch"
|
||||||
|
"${FILESDIR}/${P}-etc-perms.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable hardened fortify) \
|
||||||
|
$(use_enable !X headless) \
|
||||||
|
$(use_with zlib) \
|
||||||
|
--disable-clientupdate
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir "${EPREFIX}"/usr/share/man/man1
|
||||||
|
install_locale_docs() {
|
||||||
|
local locale_doc="client/data/lang/$1/urbackup.mo"
|
||||||
|
insinto "${EPREFIX}"/usr/share/locale/$1/LC_MESSAGES
|
||||||
|
[[ ! -e ${locale_doc} ]] || doins ${locale_doc}
|
||||||
|
}
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
if use X
|
||||||
|
then l10n_for_each_locale_do install_locale_docs
|
||||||
|
fi
|
||||||
|
insinto "${EPREFIX}"/etc/logrotate.d
|
||||||
|
newins "${FILESDIR}"/logrotate_urbackupclient urbackupclient
|
||||||
|
newconfd defaults_client urbackupclient
|
||||||
|
doinitd "${FILESDIR}"/urbackupclient
|
||||||
|
systemd_dounit "${FILESDIR}"/urbackup-client.service
|
||||||
|
dodir "${EPREFIX}"/etc/urbackup
|
||||||
|
insinto "${EPREFIX}"/etc/urbackup
|
||||||
|
doins "${FILESDIR}"/snapshot.cfg
|
||||||
|
insinto "${EPREFIX}"/usr/share/urbackup/scripts
|
||||||
|
insopts -m0700
|
||||||
|
doins "${FILESDIR}"/btrfs_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/btrfs_remove_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/dattobd_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/dattobd_remove_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/lvm_create_filesystem_snapshot
|
||||||
|
doins "${FILESDIR}"/lvm_remove_filesystem_snapshot
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user