Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
-
CountDracula
- Beiträge: 86
- Registriert: 14.01.2011 00:53:59
- Wohnort: Transylvania
Beitrag
von CountDracula » 28.08.2012 19:29:33
Hi!
Kann
dirvish-expire nicht rückwirkend löschen?
Befehl:
Ausgabe:
Befehl:
Ausgabe:
Code: Alles auswählen
## Example dirvish master configuration file:
bank:
/media/md0_crypt/backup/dirvish
exclude:
lost+found/
core
*~
.nfs*
Runall:
hallo
expire-default: +30 days
expire-rule:
# MIN HR DOM MON DOW STRFTIME_FMT
* * * * 1 +3 months
# * * 1-7 * 1 +1 year
# * * 1-7 1,4,7,10 1
# * 10-20 * * * +4 days
# * * * * 2-7 +15 days
Ich habe die Datei
master.conf angepasst. Vorher waren es „+90 days“.
Aber der Befehl
dirvish-expire löscht nichts:
I am Dracula. I bid you welcome.
-
deberik
- Beiträge: 1177
- Registriert: 30.09.2009 13:27:23
Beitrag
von deberik » 29.08.2012 22:24:48
Soweit ich weiß hat die expire-rule doch Vorrang vor expire-default.
Code: Alles auswählen
expire-default: +30 days
expire-rule:
# MIN HR DOM MON DOW STRFTIME_FMT
* * * * 1 +3 months
# * * 1-7 * 1 +1 year
# * * 1-7 1,4,7,10 1
# * 10-20 * * * +4 days
# * * * * 2-7 +15 days
Zwar steht bei expire-default 30 Tage, aber in der nicht-kommentierten Zeile von expire-rule steht 3 Monate für alle Backups, die an einem Montag erstellt wurden.
Ich vermute, dass das entsprechende Backup an einem Montag erstellt wurde.
Debians Paketbeschreibungen übersetzen?
Hilf mit!
-
CountDracula
- Beiträge: 86
- Registriert: 14.01.2011 00:53:59
- Wohnort: Transylvania
Beitrag
von CountDracula » 29.08.2012 22:49:11
Leider nicht:
Code: Alles auswählen
530366466 4 drwxr-xr-x 3 root root 4096 1. Jun 22:04 20120601
532324357 4 drwxr-xr-x 3 root root 4096 2. Jun 22:04 20120602
534290434 4 drwxr-xr-x 3 root root 4096 3. Jun 22:04 20120603
536248325 4 drwxr-xr-x 3 root root 4096 4. Jun 22:04 20120604
462364675 4 drwxr-xr-x 3 root root 4096 5. Jun 22:05 20120605
25526277 4 drwxr-xr-x 3 root root 4096 6. Jun 22:04 20120606
41828358 4 drwxr-xr-x 3 root root 4096 7. Jun 22:08 20120607
58163202 4 drwxr-xr-x 3 root root 4096 8. Jun 22:05 20120608
74498049 4 drwxr-xr-x 3 root root 4096 9. Jun 22:06 20120609
90832899 4 drwxr-xr-x 3 root root 4096 10. Jun 22:04 20120610
462077959 4 drwxr-xr-x 3 root root 4096 11. Jun 22:07 20120611
12009479 4 drwxr-xr-x 3 root root 4096 12. Jun 22:05 20120612
107593733 4 drwxr-xr-x 3 root root 4096 13. Jun 22:04 20120613
3719171 4 drwxr-xr-x 3 root root 4096 14. Jun 22:06 20120614
135553030 4 drwxr-xr-x 3 root root 4096 15. Jun 22:05 20120615
462077960 4 drwxr-xr-x 3 root root 4096 16. Jun 22:06 20120616
12099592 4 drwxr-xr-x 3 root root 4096 17. Jun 22:06 20120617
110264328 4 drwxr-xr-x 3 root root 4096 18. Jun 22:04 20120618
156917767 4 drwxr-xr-x 3 root root 4096 19. Jun 22:04 20120619
169181186 4 drwxr-xr-x 3 root root 4096 20. Jun 22:04 20120620
181436421 4 drwxr-xr-x 3 root root 4096 21. Jun 22:04 20120621
462077961 4 drwxr-xr-x 3 root root 4096 22. Jun 22:05 20120622
12042249 4 drwxr-xr-x 3 root root 4096 23. Jun 22:05 20120623
110215177 4 drwxr-xr-x 3 root root 4096 24. Jun 22:05 20120624
195330050 4 drwxr-xr-x 3 root root 4096 25. Jun 22:04 20120625
206831622 4 drwxr-xr-x 3 root root 4096 26. Jun 22:04 20120626
462077962 4 drwxr-xr-x 3 root root 4096 27. Jun 22:07 20120627
17621002 4 drwxr-xr-x 3 root root 4096 28. Jun 22:09 20120628
121536522 4 drwxr-xr-x 3 root root 4096 29. Jun 22:06 20120629
219103242 4 drwxr-xr-x 3 root root 4096 30. Jun 22:07 20120630
229531653 4 drwxr-xr-x 3 root root 4096 1. Jul 22:04 20120701
462077963 4 drwxr-xr-x 3 root root 4096 2. Jul 22:06 20120702
540770309 4 drwxr-xr-x 3 root root 4096 3. Jul 22:13 20120703
462077964 4 drwxr-xr-x 3 root root 4096 4. Jul 22:09 20120704
17915916 4 drwxr-xr-x 3 root root 4096 5. Jul 22:08 20120705
122994699 4 drwxr-xr-x 3 root root 4096 6. Jul 22:07 20120706
174776331 4 drwxr-xr-x 3 root root 4096 7. Jul 22:05 20120707
226598924 4 drwxr-xr-x 3 root root 4096 8. Jul 22:04 20120708
246358019 4 drwxr-xr-x 3 root root 4096 9. Jul 22:04 20120709
462077965 4 drwxr-xr-x 3 root root 4096 10. Jul 22:07 20120710
17866765 4 drwxr-xr-x 3 root root 4096 11. Jul 22:06 20120711
125247501 4 drwxr-xr-x 3 root root 4096 12. Jul 22:06 20120712
228851725 4 drwxr-xr-x 3 root root 4096 13. Jul 22:04 20120713
260931593 4 drwxr-xr-x 3 root root 4096 14. Jul 22:04 20120714
462077966 4 drwxr-xr-x 3 root root 4096 15. Jul 22:06 20120715
466567173 4 drwxr-xr-x 3 root root 4096 16. Jul 22:05 20120716
468844550 4 drwxr-xr-x 3 root root 4096 17. Jul 22:05 20120717
471072775 4 drwxr-xr-x 3 root root 4096 18. Jul 22:05 20120718
473432070 4 drwxr-xr-x 3 root root 4096 19. Jul 22:05 20120719
478019590 4 drwxr-xr-x 3 root root 4096 20. Jul 22:04 20120720
462077967 4 drwxr-xr-x 3 root root 4096 21. Jul 22:06 20120721
480378886 4 drwxr-xr-x 3 root root 4096 22. Jul 22:05 20120722
101933071 4 drwxr-xr-x 3 root root 4096 23. Jul 22:05 20120723
468844557 4 drwxr-xr-x 3 root root 4096 24. Jul 22:06 20120724
469237766 4 drwxr-xr-x 3 root root 4096 25. Jul 22:04 20120725
462888964 4 drwxr-xr-x 3 root root 4096 26. Jul 22:04 20120726
462077968 4 drwxr-xr-x 3 root root 4096 27. Jul 22:07 20120727
494403585 4 drwxr-xr-x 3 root root 4096 28. Jul 22:06 20120728
101482512 4 drwxr-xr-x 3 root root 4096 29. Jul 22:05 20120729
496762881 4 drwxr-xr-x 3 root root 4096 30. Jul 22:06 20120730
503840769 4 drwxr-xr-x 3 root root 4096 31. Jul 22:04 20120731
300130305 4 drwxr-xr-x 3 root root 4096 1. Aug 22:04 20120801
462077969 4 drwxr-xr-x 3 root root 4096 2. Aug 22:06 20120802
510918657 4 drwxr-xr-x 3 root root 4096 3. Aug 22:05 20120803
89530385 4 drwxr-xr-x 3 root root 4096 4. Aug 22:06 20120804
193134609 4 drwxr-xr-x 3 root root 4096 5. Aug 22:05 20120805
513277953 4 drwxr-xr-x 3 root root 4096 6. Aug 22:05 20120806
462077958 4 drwxr-xr-x 3 root root 4096 7. Aug 22:04 20120807
462077970 4 drwxr-xr-x 3 root root 4096 8. Aug 22:06 20120808
6234130 4 drwxr-xr-x 3 root root 4096 9. Aug 22:13 20120809
114196498 4 drwxr-xr-x 3 root root 4096 10. Aug 22:07 20120810
218374162 4 drwxr-xr-x 3 root root 4096 11. Aug 22:07 20120811
315801617 4 drwxr-xr-x 3 root root 4096 12. Aug 22:04 20120812
462077971 4 drwxr-xr-x 3 root root 4096 13. Aug 22:08 20120813
492011525 4 drwxr-xr-x 3 root root 4096 14. Aug 22:11 20120814
128802835 4 drwxr-xr-x 3 root root 4096 15. Aug 22:07 20120815
235479059 4 drwxr-xr-x 3 root root 4096 16. Aug 22:11 20120816
322658323 4 drwxr-xr-x 3 root root 4096 17. Aug 22:04 20120817
462077972 4 drwxr-xr-x 3 root root 4096 18. Aug 22:07 20120818
21037076 4 drwxr-xr-x 3 root root 4096 19. Aug 22:06 20120819
131031060 4 drwxr-xr-x 3 root root 4096 20. Aug 22:07 20120820
237797396 4 drwxr-xr-x 3 root root 4096 21. Aug 22:06 20120821
329080839 4 drwxr-xr-x 3 root root 4096 22. Aug 22:04 20120822
486014983 4 drwxr-xr-x 3 root root 4096 23. Aug 22:12 20120823
462077973 4 drwxr-xr-x 3 root root 4096 24. Aug 22:08 20120824
79085589 4 drwxr-xr-x 3 root root 4096 25. Aug 22:07 20120825
522452999 4 drwxr-xr-x 3 root root 4096 26. Aug 22:06 20120826
524419079 4 drwxr-xr-x 3 root root 4096 27. Aug 22:05 20120827
520486919 4 drwxr-xr-x 3 root root 4096 28. Aug 18:50 20120828
463716354 4 drwxr-xr-x 3 root root 4096 29. Aug 22:10 20120829
462086148 4 drwxr-xr-x 2 root root 4096 15. Apr 20:58 dirvish
I am Dracula. I bid you welcome.
-
deberik
- Beiträge: 1177
- Registriert: 30.09.2009 13:27:23
Beitrag
von deberik » 29.08.2012 23:29:01
man dirvish.conf hat geschrieben:It should be noted that all expiration rules will do is to cause dirvish to put an Expire: option in the summary file.
Sprich die Regeln werden bei der Erstellung direkt bei den Images gespeichert und deine Regeländerung wirkt sich nur auf neu erstellte Images aus.
Debians Paketbeschreibungen übersetzen?
Hilf mit!
-
CountDracula
- Beiträge: 86
- Registriert: 14.01.2011 00:53:59
- Wohnort: Transylvania
Beitrag
von CountDracula » 31.08.2012 19:30:23
Also bleibt mir nichts anderes übrig, als alles zu löschen und dann erneut Backups anzulegen?
I am Dracula. I bid you welcome.
-
Six
- Beiträge: 8071
- Registriert: 21.12.2001 13:39:28
- Lizenz eigener Beiträge: MIT Lizenz
- Wohnort: Siegburg
Beitrag
von Six » 01.09.2012 08:48:31
Du kannst das Expire Feld in den summary files manuell ändern und dann löscht dirvish diese "abgelaufenen" Backups.
Be seeing you!
-
CountDracula
- Beiträge: 86
- Registriert: 14.01.2011 00:53:59
- Wohnort: Transylvania
Beitrag
von CountDracula » 01.09.2012 19:19:41
Ich habe jetzt die Backups gelöscht, aber danke für den Tipp. Den werde ich dann vielleicht ein anderes mal ausprobieren.
I am Dracula. I bid you welcome.