Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • CodeMaster2008 151 posts 184 karma points
    Jul 17, 2010 @ 02:18
    CodeMaster2008
    0

    Document versions - is there a limit?

    Is there a limit for how many versions of the same document umbraco will keep, And is there a place to configure it? The document management/version control is nice but id like to be able to specify a limit. Something like keep the last 20 versions and that's it.

    Also, still in the subject, is there a way to remove those old versions? Couldn't find it on the backend.

    This really nice package (F.A.L.M. Housekeeping) has excelent cleanup features unfortunatelly it won't work with 4.5 schema.

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 17, 2010 @ 09:22
    Sebastiaan Janssen
    1

    There is currently no limit, Umbraco will just keep adding versions.

    The Housekeeping package is being worked on and will very soon be available for 4.5.

  • CodeMaster2008 151 posts 184 karma points
    Jul 17, 2010 @ 10:29
    CodeMaster2008
    0

    What about removing using the api, do you know what exactly should i remove? I mean, how do i get the document versions and remove than?

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Jul 17, 2010 @ 10:34
    Sebastiaan Janssen
    1

    Maybe you can try the client tools by Thomas Höhler, it has a versions cleaner. But I don't know if it will work for 4.5. Are you in a big hurry? I used to have an SQL script somewhere that would delete some versions, I could look for it.

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Jul 17, 2010 @ 10:54
    Matt Brailsford
    1

    Hey,

    You may want to take a look at my UnVersion package.

    http://our.umbraco.org/projects/website-utilities/unversion

    It currently cleans up all versions, just keeping the live and draft, but I am working on making it configurable (you can set the maximum number of days to keep). I should hopefully have an update by the end of the weekend.

    Matt

    UPDATE

    I've now added an additional config option to UnVersion for the number of days to keep versions, so this should do exactly what you need now.

    PS

    UnVersions IS v4.5 compatable

  • CodeMaster2008 151 posts 184 karma points
    Jul 17, 2010 @ 20:30
    CodeMaster2008
    0

    @Sebastiaan Janssen
    Anytime will get the scripts will be good to help me understand the schema and how things works. I appreciate you help, thanks a lot.

    @Matt Brailsford
    Thanks man, looks like your package will save my day,

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies